Bridge++  Ver.2.1.3
AFopr_Wilson_eo< AFIELD > Class Template Reference

Wilson fermion operator (even-odd) for Accel branch. More...

#include <afopr_Wilson_eo.h>

Inheritance diagram for AFopr_Wilson_eo< AFIELD >:
AFopr< AFIELD >

Public Types

typedef AFIELD::real_t real_t
 
typedef AFIELD::real_t real_t
 

Public Member Functions

 AFopr_Wilson_eo (const Parameters &params)
 constructor. More...
 
 ~AFopr_Wilson_eo ()
 destructor. More...
 
void set_parameters (const Parameters &params)
 setting parameters by a Parameter object. More...
 
void set_parameters (real_t CKs, std::vector< int > bc)
 setting parameters by values. More...
 
void get_parameters (Parameters &params) const
 getting parameters as a Parameters object. More...
 
void set_config (Field *u)
 setting gauge configuration. More...
 
Field * get_conf ()
 returns the pointer to gauge configuration. More...
 
void set_mode (std::string mode)
 setting mult mode. More...
 
std::string get_mode () const
 return the current mult mode. More...
 
void mult (AFIELD &, const AFIELD &)
 multiplies fermion operator to a given field. More...
 
void mult_dag (AFIELD &, const AFIELD &)
 hermitian conjugate of mult. More...
 
void mult_gm5 (AFIELD &, const AFIELD &)
 multiplies gamma_5 matrix. More...
 
void mult (AFIELD &, const AFIELD &, const std::string mode)
 executes mult with specified mode (unchanging internal mode). More...
 
void DdagD (AFIELD &, const AFIELD &)
 
void Ddag (AFIELD &, const AFIELD &)
 
void D (AFIELD &, const AFIELD &)
 
void Meo (AFIELD &, const AFIELD &, const int ieo)
 Fermion matrix with ieo = 0: even <– odd, 1: odd <– even. More...
 
void Meo (AFIELD &, const AFIELD &, const AFIELD &, const int ieo, const int iflag)
 Fermion matrix with ieo = 0: even <– odd, 1: odd <– even. More...
 
void Meo_alt (AFIELD &, const AFIELD &, const int ieo)
 Fermion matrix with ieo = 0: even <– odd, 1: odd <– even. More...
 
void Meo_alt (AFIELD &, const AFIELD &, const AFIELD &, const int ieo, const int iflag)
 Fermion matrix with ieo = 0: even <– odd, 1: odd <– even. More...
 
int field_nin ()
 returns inner size parameter. More...
 
int field_nvol ()
 returns local volume size parameter. More...
 
int field_nex ()
 returns external size parameter. More...
 
double flop_count ()
 returns floating operation counts. More...
 
double flop_count (const std::string mode)
 returns floating operation counts. More...
 
 AFopr_Wilson_eo (const Parameters &params)
 constructor. More...
 
 ~AFopr_Wilson_eo ()
 destructor. More...
 
void set_parameters (const Parameters &params)
 setting parameters by a Parameter object. More...
 
void set_parameters (real_t CKs, std::vector< int > bc)
 setting parameters by values. More...
 
void get_parameters (Parameters &params) const
 get parameters via a Parameter object More...
 
void set_config (Field *u)
 setting gauge configuration (common interface). More...
 
void set_config_omp (Field *u)
 setting gauge configuration (setting omp parallel). More...
 
void set_config_impl (Field *u)
 setting gauge configuration (implementation). More...
 
void set_mode (std::string mode)
 setting mult mode. More...
 
std::string get_mode () const
 returns mult mode. More...
 
void mult (AFIELD &, const AFIELD &)
 multiplies fermion operator to a given field. More...
 
void mult_dag (AFIELD &, const AFIELD &)
 hermitian conjugate of mult. More...
 
void mult_gm5 (AFIELD &, const AFIELD &)
 multiplies gamma_5 matrix. More...
 
void mult_gm4 (AFIELD &, const AFIELD &)
 
void mult (AFIELD &, const AFIELD &, const std::string mode)
 executes mult with specified mode (unchanging internal mode). More...
 
void DdagD (AFIELD &, const AFIELD &)
 
void Ddag (AFIELD &, const AFIELD &)
 
void D (AFIELD &, const AFIELD &)
 
void aypx (real_t, AFIELD &, const AFIELD &)
 
void Meo (AFIELD &, const AFIELD &, const int ieo)
 Fermion matrix with ieo = 0: even <– odd, 1: odd <– even. More...
 
void Meo (AFIELD &, const AFIELD &, const AFIELD &, const int ieo, const int iflag)
 Fermion matrix with ieo = 0: even <– odd, 1: odd <– even. More...
 
void mult_Meo (AFIELD &, const AFIELD &, const AFIELD &, const int ieo, const int iflag)
 Meo implementation: standard. More...
 
void mult_Meo_alt (AFIELD &, const AFIELD &, const AFIELD &, const int ieo, const int iflag)
 Meo implementation: using mult_xp etc. More...
 
void mult_Meo_qxs (AFIELD &, const AFIELD &, const AFIELD &, const int ieo, const int iflag)
 Meo implementation: using qxs library. More...
 
int field_nin ()
 returns inner size parameter. More...
 
int field_nvol ()
 returns local volume size parameter. More...
 
int field_nex ()
 returns external size parameter. More...
 
double flop_count ()
 returns floating operation counts. More...
 
double flop_count (const std::string mode)
 returns floating operation counts. More...
 
bool needs_convert ()
 field convert is necessary in this implementation. More...
 
void convert (AFIELD &, const Field &)
 convert Field to AField for this class. More...
 
void reverse (Field &, const AFIELD &)
 reverse AField to Field. More...
 
const std::string class_name
 
const std::string class_name
 
- Public Member Functions inherited from AFopr< AFIELD >
 AFopr ()
 
virtual ~AFopr ()
 
virtual void mult_dag (AFIELD &, const AFIELD &, const std::string mode)
 executes mult_dag with specified mode (unchanging internal mode). More...
 
virtual void mult_up (int mu, AFIELD &, const AFIELD &)
 upward nearest neighbor hopping term. More...
 
virtual void mult_dn (int mu, AFIELD &, const AFIELD &)
 downward nearest neighbor hopping term. More...
 
virtual void normalize_fprop (AFIELD &)
 normalize propagator if necessary (default: do nothing) More...
 
virtual void normalize_fopr (AFIELD &)
 normalize propagator if necessary (default: do nothing) More...
 

Static Public Attributes

static const std::string class_name = "AFopr_Wilson_eo<AFIELD>"
 

Protected Types

enum  Gamma_repr { DIRAC, CHIRAL }
 
using Channel = Channel_impl< std::allocator< real_t > >
 
using allocator_t = typename AFIELD::template aligned_allocator< char >
 
using Channel = Channel_impl< allocator_t >
 

Protected Attributes

enum AFopr_Wilson_eo::Gamma_repr m_repr
 gamma matrix representation More...
 
int m_Nc
 
int m_Nd
 
int m_Ncol
 
int m_Nvc
 
int m_Ndf
 
int m_Nx
 
int m_Ny
 
int m_Nz
 
int m_Nt
 
int m_Nst
 
int m_Ndim
 
int m_Nx2
 
int m_Nst2
 
real_t m_CKs
 hopping parameter. More...
 
std::vector< int > m_boundary
 pointer to boundary condition More...
 
Bridge::VerboseLevel m_vl
 verbose level More...
 
AIndex_eo< real_t, AFIELD::IMPL > m_index_eo
 
int m_Ieo_origin
 e-o of local lattice origin More...
 
Field * m_conf
 pointer to original gauge configuration More...
 
AFIELD m_Ueo
 gauge config. with even-odd separation More...
 
std::string m_mode
 mult mode More...
 
AFIELD m_v1
 
AFIELD m_v2
 working vectors More...
 
int do_comm [4]
 switchs of communication (4=Ndim): (0: n, 1: y). More...
 
int do_comm_any
 switchs of communication (if any): (0: n, 1: y). More...
 
int m_Nsize [4]
 lattice size for kernel More...
 
int m_bc [4]
 boundary condition for boundary part More...
 
int m_bc2 [4]
 boundary condition for bulk part More...
 
std::vector< int > m_Nbdsize
 
std::vector< Channel > chsend_up
 
std::vector< Channel > chrecv_up
 
std::vector< Channel > chsend_dn
 
std::vector< Channel > chrecv_dn
 
ChannelSet chset_send
 
ChannelSet chset_recv
 
int m_Nx2v
 
int m_Nst2v
 
int m_Nyv
 
std::string m_repr
 gamma matrix representation More...
 
std::vector< int > m_Leo
 Leo = 0 (even site) or 1 (odd site). More...
 
AIndex_eo< real_t, AFIELD::IMPL > m_index
 
AFIELD m_Ulex
 converted gauge config with boundary conditions More...
 
AFIELD m_z1
 lexical field: used in convert/reverse. More...
 
std::vector< int > m_bdsize
 

Private Member Functions

void init (const Parameters &params)
 initial setup. More...
 
void tidyup ()
 final tidy-up. More...
 
void setup_channels ()
 setup channels for communication.
More...
 
void set_config_omp (Field *u)
 
void set_config_impl (Field *u)
 
void mult_xp (real_t *, real_t *, const int)
 
void mult_xm (real_t *, real_t *, const int)
 
void mult_yp (real_t *, real_t *, const int)
 
void mult_ym (real_t *, real_t *, const int)
 
void mult_zp (real_t *, real_t *, const int)
 
void mult_zm (real_t *, real_t *, const int)
 
void mult_tp (real_t *, real_t *, const int)
 
void mult_tm (real_t *, real_t *, const int)
 
void init (const Parameters &params)
 initial setup. More...
 
void tidyup ()
 final tidy-up. More...
 
void setup_channels ()
 setup channels for communication. More...
 
void mult_gm4 (real_t *, real_t *)
 
void clear (real_t *)
 
void aypx (real_t, real_t *, real_t *)
 
void scal (real_t *, const real_t)
 
void clear (real_t *, const int, const int)
 
void aypx (real_t, real_t *, real_t *, const int, const int)
 
void scal (real_t *, const real_t, const int, const int)
 

Additional Inherited Members

- Static Protected Attributes inherited from AFopr< AFIELD >
static const std::string class_name
 

Detailed Description

template<typename AFIELD>
class AFopr_Wilson_eo< AFIELD >

Wilson fermion operator (even-odd) for Accel branch.

This class implements the standard Wilson fermion operator with the even-odd site oerrdering for the Accel branch. [14 Feb 2025 H.Matsufuru]

Implementation of the Wilson fermion operator (even-odd index) in the QXS branch. [24 Dec 2022 H.Matsufuru]

Definition at line 34 of file afopr_Wilson_eo.h.

Member Typedef Documentation

◆ allocator_t

template<typename AFIELD >
using AFopr_Wilson_eo< AFIELD >::allocator_t = typename AFIELD::template aligned_allocator<char>
protected

Definition at line 74 of file afopr_Wilson_eo.h.

◆ Channel [1/2]

template<typename AFIELD >
using AFopr_Wilson_eo< AFIELD >::Channel = Channel_impl<std::allocator<real_t> >
protected

Definition at line 70 of file afopr_Wilson_eo.h.

◆ Channel [2/2]

template<typename AFIELD >
using AFopr_Wilson_eo< AFIELD >::Channel = Channel_impl<allocator_t>
protected

Definition at line 75 of file afopr_Wilson_eo.h.

◆ real_t [1/2]

template<typename AFIELD >
typedef AFIELD::real_t AFopr_Wilson_eo< AFIELD >::real_t

Definition at line 37 of file afopr_Wilson_eo.h.

◆ real_t [2/2]

template<typename AFIELD >
typedef AFIELD::real_t AFopr_Wilson_eo< AFIELD >::real_t

Definition at line 41 of file afopr_Wilson_eo.h.

Member Enumeration Documentation

◆ Gamma_repr

template<typename AFIELD >
enum AFopr_Wilson_eo::Gamma_repr
protected
Enumerator
DIRAC 
CHIRAL 

Definition at line 41 of file afopr_Wilson_eo.h.

Constructor & Destructor Documentation

◆ AFopr_Wilson_eo() [1/2]

template<typename AFIELD >
AFopr_Wilson_eo< AFIELD >::AFopr_Wilson_eo ( const Parameters &  params)
inline

constructor.

Definition at line 77 of file afopr_Wilson_eo.h.

◆ ~AFopr_Wilson_eo() [1/2]

template<typename AFIELD >
AFopr_Wilson_eo< AFIELD >::~AFopr_Wilson_eo ( )
inline

destructor.

Definition at line 80 of file afopr_Wilson_eo.h.

◆ AFopr_Wilson_eo() [2/2]

template<typename AFIELD >
AFopr_Wilson_eo< AFIELD >::AFopr_Wilson_eo ( const Parameters &  params)
inline

constructor.

Definition at line 81 of file afopr_Wilson_eo.h.

◆ ~AFopr_Wilson_eo() [2/2]

template<typename AFIELD >
AFopr_Wilson_eo< AFIELD >::~AFopr_Wilson_eo ( )
inline

destructor.

Definition at line 87 of file afopr_Wilson_eo.h.

Member Function Documentation

◆ aypx() [1/3]

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::aypx ( real_t  a,
AFIELD &  v,
const AFIELD &  w 
)

Definition at line 511 of file afopr_Wilson_eo-tmpl.h.

◆ aypx() [2/3]

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::aypx ( real_t  a,
real_t *  v,
real_t *  w 
)
private

Definition at line 611 of file afopr_Wilson_eo-tmpl.h.

◆ aypx() [3/3]

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::aypx ( real_t  ,
real_t *  ,
real_t *  ,
const int  ,
const int   
)
private

◆ class_name() [1/2]

const std::string AFopr_Wilson_eo< AField< double, QXS > >::class_name

Definition at line 40 of file afopr_Wilson_eo_double.cpp.

◆ class_name() [2/2]

const std::string AFopr_Wilson_eo< AField< float, QXS > >::class_name

Definition at line 40 of file afopr_Wilson_eo_float.cpp.

◆ clear() [1/2]

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::clear ( real_t *  v)
private

Definition at line 630 of file afopr_Wilson_eo-tmpl.h.

◆ clear() [2/2]

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::clear ( real_t *  ,
const int  ,
const int   
)
private

◆ convert()

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::convert ( AFIELD &  v,
const Field &  w 
)
virtual

convert Field to AField for this class.

Reimplemented from AFopr< AFIELD >.

Definition at line 332 of file afopr_Wilson_eo-tmpl.h.

◆ D() [1/2]

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::D ( AFIELD &  v,
const AFIELD &  w 
)

Definition at line 476 of file afopr_Wilson_eo-tmpl.h.

◆ D() [2/2]

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::D ( AFIELD &  ,
const AFIELD &   
)

◆ Ddag() [1/2]

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::Ddag ( AFIELD &  v,
const AFIELD &  w 
)

Definition at line 465 of file afopr_Wilson_eo-tmpl.h.

◆ Ddag() [2/2]

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::Ddag ( AFIELD &  ,
const AFIELD &   
)

◆ DdagD() [1/2]

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::DdagD ( AFIELD &  v,
const AFIELD &  w 
)

Definition at line 455 of file afopr_Wilson_eo-tmpl.h.

◆ DdagD() [2/2]

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::DdagD ( AFIELD &  ,
const AFIELD &   
)

◆ field_nex() [1/2]

template<typename AFIELD >
int AFopr_Wilson_eo< AFIELD >::field_nex ( )
inlinevirtual

returns external size parameter.

Implements AFopr< AFIELD >.

Definition at line 135 of file afopr_Wilson_eo.h.

◆ field_nex() [2/2]

template<typename AFIELD >
int AFopr_Wilson_eo< AFIELD >::field_nex ( )
inlinevirtual

returns external size parameter.

Implements AFopr< AFIELD >.

Definition at line 154 of file afopr_Wilson_eo.h.

◆ field_nin() [1/2]

template<typename AFIELD >
int AFopr_Wilson_eo< AFIELD >::field_nin ( )
inlinevirtual

returns inner size parameter.

Implements AFopr< AFIELD >.

Definition at line 129 of file afopr_Wilson_eo.h.

◆ field_nin() [2/2]

template<typename AFIELD >
int AFopr_Wilson_eo< AFIELD >::field_nin ( )
inlinevirtual

returns inner size parameter.

Implements AFopr< AFIELD >.

Definition at line 148 of file afopr_Wilson_eo.h.

◆ field_nvol() [1/2]

template<typename AFIELD >
int AFopr_Wilson_eo< AFIELD >::field_nvol ( )
inlinevirtual

returns local volume size parameter.

Implements AFopr< AFIELD >.

Definition at line 132 of file afopr_Wilson_eo.h.

◆ field_nvol() [2/2]

template<typename AFIELD >
int AFopr_Wilson_eo< AFIELD >::field_nvol ( )
inlinevirtual

returns local volume size parameter.

Implements AFopr< AFIELD >.

Definition at line 151 of file afopr_Wilson_eo.h.

◆ flop_count() [1/4]

template<typename AFIELD >
double AFopr_Wilson_eo< AFIELD >::flop_count
virtual

returns floating operation counts.

Reimplemented from AFopr< AFIELD >.

Definition at line 1070 of file afopr_Wilson_eo-tmpl.h.

◆ flop_count() [2/4]

template<typename AFIELD >
double AFopr_Wilson_eo< AFIELD >::flop_count ( )
inlinevirtual

returns floating operation counts.

Reimplemented from AFopr< AFIELD >.

Definition at line 157 of file afopr_Wilson_eo.h.

◆ flop_count() [3/4]

template<typename AFIELD >
double AFopr_Wilson_eo< AFIELD >::flop_count ( const std::string  mode)
virtual

returns floating operation counts.

Reimplemented from AFopr< AFIELD >.

Definition at line 1076 of file afopr_Wilson_eo-tmpl.h.

◆ flop_count() [4/4]

template<typename AFIELD >
double AFopr_Wilson_eo< AFIELD >::flop_count ( const std::string  mode)
virtual

returns floating operation counts.

Reimplemented from AFopr< AFIELD >.

◆ get_conf()

template<typename AFIELD >
Field* AFopr_Wilson_eo< AFIELD >::get_conf ( )
inline

returns the pointer to gauge configuration.

Definition at line 95 of file afopr_Wilson_eo.h.

◆ get_mode() [1/2]

template<typename AFIELD >
std::string AFopr_Wilson_eo< AFIELD >::get_mode ( ) const
inlinevirtual

return the current mult mode.

Reimplemented from AFopr< AFIELD >.

Definition at line 101 of file afopr_Wilson_eo.h.

◆ get_mode() [2/2]

template<typename AFIELD >
std::string AFopr_Wilson_eo< AFIELD >::get_mode ( ) const
inlinevirtual

returns mult mode.

Reimplemented from AFopr< AFIELD >.

Definition at line 111 of file afopr_Wilson_eo.h.

◆ get_parameters() [1/2]

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::get_parameters ( Parameters &  params) const
virtual

getting parameters as a Parameters object.

Reimplemented from AFopr< AFIELD >.

Definition at line 293 of file afopr_Wilson_eo-tmpl.h.

◆ get_parameters() [2/2]

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::get_parameters ( Parameters &  params) const
virtual

get parameters via a Parameter object

Reimplemented from AFopr< AFIELD >.

◆ init() [1/2]

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::init ( const Parameters &  params)
private

initial setup.

Definition at line 30 of file afopr_Wilson_eo-tmpl.h.

◆ init() [2/2]

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::init ( const Parameters &  params)
private

initial setup.

◆ Meo() [1/4]

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::Meo ( AFIELD &  v,
const AFIELD &  w,
const AFIELD &  x,
const int  ieo,
const int  iflag 
)

Fermion matrix with ieo = 0: even <– odd, 1: odd <– even.

Definition at line 550 of file afopr_Wilson_eo-tmpl.h.

◆ Meo() [2/4]

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::Meo ( AFIELD &  ,
const AFIELD &  ,
const AFIELD &  ,
const int  ieo,
const int  iflag 
)

Fermion matrix with ieo = 0: even <– odd, 1: odd <– even.

◆ Meo() [3/4]

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::Meo ( AFIELD &  v,
const AFIELD &  w,
const int  ieo 
)

Fermion matrix with ieo = 0: even <– odd, 1: odd <– even.

Definition at line 486 of file afopr_Wilson_eo-tmpl.h.

◆ Meo() [4/4]

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::Meo ( AFIELD &  ,
const AFIELD &  ,
const int  ieo 
)

Fermion matrix with ieo = 0: even <– odd, 1: odd <– even.

◆ Meo_alt() [1/2]

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::Meo_alt ( AFIELD &  v,
const AFIELD &  w,
const AFIELD &  x,
const int  ieo,
const int  iflag 
)

Fermion matrix with ieo = 0: even <– odd, 1: odd <– even.

Definition at line 519 of file afopr_Wilson_eo-tmpl.h.

◆ Meo_alt() [2/2]

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::Meo_alt ( AFIELD &  v,
const AFIELD &  w,
const int  ieo 
)

Fermion matrix with ieo = 0: even <– odd, 1: odd <– even.

Definition at line 495 of file afopr_Wilson_eo-tmpl.h.

◆ mult() [1/4]

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::mult ( AFIELD &  ,
const AFIELD &   
)
virtual

multiplies fermion operator to a given field.

Reimplemented from AFopr< AFIELD >.

Definition at line 367 of file afopr_Wilson_eo-tmpl.h.

◆ mult() [2/4]

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::mult ( AFIELD &  ,
const AFIELD &   
)
virtual

multiplies fermion operator to a given field.

Reimplemented from AFopr< AFIELD >.

◆ mult() [3/4]

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::mult ( AFIELD &  ,
const AFIELD &  ,
const std::string  mode 
)
virtual

executes mult with specified mode (unchanging internal mode).

Reimplemented from AFopr< AFIELD >.

Definition at line 403 of file afopr_Wilson_eo-tmpl.h.

◆ mult() [4/4]

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::mult ( AFIELD &  ,
const AFIELD &  ,
const std::string  mode 
)
virtual

executes mult with specified mode (unchanging internal mode).

Reimplemented from AFopr< AFIELD >.

◆ mult_dag() [1/2]

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::mult_dag ( AFIELD &  ,
const AFIELD &   
)
virtual

hermitian conjugate of mult.

Reimplemented from AFopr< AFIELD >.

Definition at line 385 of file afopr_Wilson_eo-tmpl.h.

◆ mult_dag() [2/2]

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::mult_dag ( AFIELD &  ,
const AFIELD &   
)
virtual

hermitian conjugate of mult.

Reimplemented from AFopr< AFIELD >.

◆ mult_gm4() [1/2]

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::mult_gm4 ( AFIELD &  v,
const AFIELD &  w 
)

Definition at line 417 of file afopr_Wilson_eo-tmpl.h.

◆ mult_gm4() [2/2]

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::mult_gm4 ( real_t *  ,
real_t *   
)
private

◆ mult_gm5() [1/2]

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::mult_gm5 ( AFIELD &  ,
const AFIELD &   
)
virtual

multiplies gamma_5 matrix.

Reimplemented from AFopr< AFIELD >.

Definition at line 432 of file afopr_Wilson_eo-tmpl.h.

◆ mult_gm5() [2/2]

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::mult_gm5 ( AFIELD &  ,
const AFIELD &   
)
virtual

multiplies gamma_5 matrix.

Reimplemented from AFopr< AFIELD >.

◆ mult_Meo()

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::mult_Meo ( AFIELD &  ,
const AFIELD &  ,
const AFIELD &  ,
const int  ieo,
const int  iflag 
)

Meo implementation: standard.

◆ mult_Meo_alt()

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::mult_Meo_alt ( AFIELD &  ,
const AFIELD &  ,
const AFIELD &  ,
const int  ieo,
const int  iflag 
)

Meo implementation: using mult_xp etc.

◆ mult_Meo_qxs()

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::mult_Meo_qxs ( AFIELD &  v,
const AFIELD &  w,
const AFIELD &  x,
const int  ieo,
const int  iflag 
)

Meo implementation: using qxs library.

Definition at line 543 of file afopr_Wilson_eo-tmpl.h.

◆ mult_tm()

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::mult_tm ( real_t *  v2,
real_t *  v1,
const int  ieo 
)
private

Definition at line 1008 of file afopr_Wilson_eo-tmpl.h.

◆ mult_tp()

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::mult_tp ( real_t *  v2,
real_t *  v1,
const int  ieo 
)
private

Definition at line 946 of file afopr_Wilson_eo-tmpl.h.

◆ mult_xm()

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::mult_xm ( real_t *  v2,
real_t *  v1,
const int  ieo 
)
private

Definition at line 697 of file afopr_Wilson_eo-tmpl.h.

◆ mult_xp()

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::mult_xp ( real_t *  v2,
real_t *  v1,
const int  ieo 
)
private

Definition at line 647 of file afopr_Wilson_eo-tmpl.h.

◆ mult_ym()

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::mult_ym ( real_t *  v2,
real_t *  v1,
const int  ieo 
)
private

Definition at line 797 of file afopr_Wilson_eo-tmpl.h.

◆ mult_yp()

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::mult_yp ( real_t *  v2,
real_t *  v1,
const int  ieo 
)
private

Definition at line 747 of file afopr_Wilson_eo-tmpl.h.

◆ mult_zm()

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::mult_zm ( real_t *  v2,
real_t *  v1,
const int  ieo 
)
private

Definition at line 897 of file afopr_Wilson_eo-tmpl.h.

◆ mult_zp()

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::mult_zp ( real_t *  v2,
real_t *  v1,
const int  ieo 
)
private

Definition at line 847 of file afopr_Wilson_eo-tmpl.h.

◆ needs_convert()

template<typename AFIELD >
bool AFopr_Wilson_eo< AFIELD >::needs_convert ( )
inlinevirtual

field convert is necessary in this implementation.

Reimplemented from AFopr< AFIELD >.

Definition at line 163 of file afopr_Wilson_eo.h.

◆ reverse()

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::reverse ( Field &  v,
const AFIELD &  w 
)
virtual

reverse AField to Field.

Reimplemented from AFopr< AFIELD >.

Definition at line 343 of file afopr_Wilson_eo-tmpl.h.

◆ scal() [1/2]

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::scal ( real_t *  v,
const real_t  a 
)
private

Definition at line 650 of file afopr_Wilson_eo-tmpl.h.

◆ scal() [2/2]

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::scal ( real_t *  ,
const  real_t,
const int  ,
const int   
)
private

◆ set_config() [1/2]

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::set_config ( Field *  u)
virtual

setting gauge configuration.

Implements AFopr< AFIELD >.

Definition at line 308 of file afopr_Wilson_eo-tmpl.h.

◆ set_config() [2/2]

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::set_config ( Field *  u)
virtual

setting gauge configuration (common interface).

Implements AFopr< AFIELD >.

◆ set_config_impl() [1/2]

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::set_config_impl ( Field *  u)

setting gauge configuration (implementation).

◆ set_config_impl() [2/2]

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::set_config_impl ( Field *  u)
private

Definition at line 339 of file afopr_Wilson_eo-tmpl.h.

◆ set_config_omp() [1/2]

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::set_config_omp ( Field *  u)

setting gauge configuration (setting omp parallel).

◆ set_config_omp() [2/2]

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::set_config_omp ( Field *  u)
private

Definition at line 326 of file afopr_Wilson_eo-tmpl.h.

◆ set_mode() [1/2]

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::set_mode ( std::string  mode)
virtual

setting mult mode.

Reimplemented from AFopr< AFIELD >.

Definition at line 354 of file afopr_Wilson_eo-tmpl.h.

◆ set_mode() [2/2]

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::set_mode ( std::string  mode)
virtual

setting mult mode.

Reimplemented from AFopr< AFIELD >.

◆ set_parameters() [1/4]

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::set_parameters ( const Parameters &  params)
virtual

setting parameters by a Parameter object.

Reimplemented from AFopr< AFIELD >.

Definition at line 203 of file afopr_Wilson_eo-tmpl.h.

◆ set_parameters() [2/4]

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::set_parameters ( const Parameters &  params)
virtual

setting parameters by a Parameter object.

Reimplemented from AFopr< AFIELD >.

◆ set_parameters() [3/4]

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::set_parameters ( real_t  CKs,
std::vector< int >  bc 
)

setting parameters by values.

Definition at line 247 of file afopr_Wilson_eo-tmpl.h.

◆ set_parameters() [4/4]

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::set_parameters ( real_t  CKs,
std::vector< int >  bc 
)

setting parameters by values.

◆ setup_channels() [1/2]

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::setup_channels
private

setup channels for communication.

Definition at line 123 of file afopr_Wilson_eo-tmpl.h.

◆ setup_channels() [2/2]

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::setup_channels ( )
private

setup channels for communication.

◆ tidyup() [1/2]

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::tidyup
private

final tidy-up.

Definition at line 174 of file afopr_Wilson_eo-tmpl.h.

◆ tidyup() [2/2]

template<typename AFIELD >
void AFopr_Wilson_eo< AFIELD >::tidyup ( )
private

final tidy-up.

Member Data Documentation

◆ chrecv_dn

template<typename AFIELD >
std::vector< Channel > AFopr_Wilson_eo< AFIELD >::chrecv_dn
protected

Definition at line 71 of file afopr_Wilson_eo.h.

◆ chrecv_up

template<typename AFIELD >
std::vector< Channel > AFopr_Wilson_eo< AFIELD >::chrecv_up
protected

Definition at line 71 of file afopr_Wilson_eo.h.

◆ chsend_dn

template<typename AFIELD >
std::vector< Channel > AFopr_Wilson_eo< AFIELD >::chsend_dn
protected

Definition at line 71 of file afopr_Wilson_eo.h.

◆ chsend_up

template<typename AFIELD >
std::vector< Channel > AFopr_Wilson_eo< AFIELD >::chsend_up
protected

Definition at line 71 of file afopr_Wilson_eo.h.

◆ chset_recv

template<typename AFIELD >
ChannelSet AFopr_Wilson_eo< AFIELD >::chset_recv
protected

Definition at line 72 of file afopr_Wilson_eo.h.

◆ chset_send

template<typename AFIELD >
ChannelSet AFopr_Wilson_eo< AFIELD >::chset_send
protected

Definition at line 72 of file afopr_Wilson_eo.h.

◆ class_name

template<typename AFIELD >
static const std::string AFopr_Wilson_eo< AFIELD >::class_name = "AFopr_Wilson_eo<AFIELD>"
static

Definition at line 38 of file afopr_Wilson_eo.h.

◆ do_comm

template<typename AFIELD >
int AFopr_Wilson_eo< AFIELD >::do_comm
protected

switchs of communication (4=Ndim): (0: n, 1: y).

Definition at line 62 of file afopr_Wilson_eo.h.

◆ do_comm_any

template<typename AFIELD >
int AFopr_Wilson_eo< AFIELD >::do_comm_any
protected

switchs of communication (if any): (0: n, 1: y).

Definition at line 63 of file afopr_Wilson_eo.h.

◆ m_bc

template<typename AFIELD >
int AFopr_Wilson_eo< AFIELD >::m_bc[4]
protected

boundary condition for boundary part

Definition at line 66 of file afopr_Wilson_eo.h.

◆ m_bc2

template<typename AFIELD >
int AFopr_Wilson_eo< AFIELD >::m_bc2[4]
protected

boundary condition for bulk part

Definition at line 67 of file afopr_Wilson_eo.h.

◆ m_bdsize

template<typename AFIELD >
std::vector<int> AFopr_Wilson_eo< AFIELD >::m_bdsize
protected

Definition at line 73 of file afopr_Wilson_eo.h.

◆ m_boundary

template<typename AFIELD >
std::vector< int > AFopr_Wilson_eo< AFIELD >::m_boundary
protected

pointer to boundary condition

Definition at line 48 of file afopr_Wilson_eo.h.

◆ m_CKs

template<typename AFIELD >
real_t AFopr_Wilson_eo< AFIELD >::m_CKs
protected

hopping parameter.

Definition at line 47 of file afopr_Wilson_eo.h.

◆ m_conf

template<typename AFIELD >
Field * AFopr_Wilson_eo< AFIELD >::m_conf
protected

pointer to original gauge configuration

original gauge configuration

Definition at line 55 of file afopr_Wilson_eo.h.

◆ m_Ieo_origin

template<typename AFIELD >
int AFopr_Wilson_eo< AFIELD >::m_Ieo_origin
protected

e-o of local lattice origin

Definition at line 53 of file afopr_Wilson_eo.h.

◆ m_index

template<typename AFIELD >
AIndex_eo<real_t, AFIELD::IMPL> AFopr_Wilson_eo< AFIELD >::m_index
protected

Definition at line 58 of file afopr_Wilson_eo.h.

◆ m_index_eo

template<typename AFIELD >
AIndex_eo<real_t,AFIELD::IMPL> AFopr_Wilson_eo< AFIELD >::m_index_eo
protected

Definition at line 51 of file afopr_Wilson_eo.h.

◆ m_Leo

template<typename AFIELD >
std::vector<int> AFopr_Wilson_eo< AFIELD >::m_Leo
protected

Leo = 0 (even site) or 1 (odd site).

Definition at line 56 of file afopr_Wilson_eo.h.

◆ m_mode

template<typename AFIELD >
std::string AFopr_Wilson_eo< AFIELD >::m_mode
protected

mult mode

Definition at line 58 of file afopr_Wilson_eo.h.

◆ m_Nbdsize

template<typename AFIELD >
std::vector<int> AFopr_Wilson_eo< AFIELD >::m_Nbdsize
protected

Definition at line 69 of file afopr_Wilson_eo.h.

◆ m_Nc

template<typename AFIELD >
int AFopr_Wilson_eo< AFIELD >::m_Nc
protected

Definition at line 43 of file afopr_Wilson_eo.h.

◆ m_Ncol

template<typename AFIELD >
int AFopr_Wilson_eo< AFIELD >::m_Ncol
protected

Definition at line 43 of file afopr_Wilson_eo.h.

◆ m_Nd

template<typename AFIELD >
int AFopr_Wilson_eo< AFIELD >::m_Nd
protected

Definition at line 43 of file afopr_Wilson_eo.h.

◆ m_Ndf

template<typename AFIELD >
int AFopr_Wilson_eo< AFIELD >::m_Ndf
protected

Definition at line 43 of file afopr_Wilson_eo.h.

◆ m_Ndim

template<typename AFIELD >
int AFopr_Wilson_eo< AFIELD >::m_Ndim
protected

Definition at line 44 of file afopr_Wilson_eo.h.

◆ m_Nsize

template<typename AFIELD >
int AFopr_Wilson_eo< AFIELD >::m_Nsize
protected

lattice size for kernel

Definition at line 65 of file afopr_Wilson_eo.h.

◆ m_Nst

template<typename AFIELD >
int AFopr_Wilson_eo< AFIELD >::m_Nst
protected

Definition at line 44 of file afopr_Wilson_eo.h.

◆ m_Nst2

template<typename AFIELD >
int AFopr_Wilson_eo< AFIELD >::m_Nst2
protected

Definition at line 45 of file afopr_Wilson_eo.h.

◆ m_Nst2v

template<typename AFIELD >
int AFopr_Wilson_eo< AFIELD >::m_Nst2v
protected

Definition at line 49 of file afopr_Wilson_eo.h.

◆ m_Nt

template<typename AFIELD >
int AFopr_Wilson_eo< AFIELD >::m_Nt
protected

Definition at line 44 of file afopr_Wilson_eo.h.

◆ m_Nvc

template<typename AFIELD >
int AFopr_Wilson_eo< AFIELD >::m_Nvc
protected

Definition at line 43 of file afopr_Wilson_eo.h.

◆ m_Nx

template<typename AFIELD >
int AFopr_Wilson_eo< AFIELD >::m_Nx
protected

Definition at line 44 of file afopr_Wilson_eo.h.

◆ m_Nx2

template<typename AFIELD >
int AFopr_Wilson_eo< AFIELD >::m_Nx2
protected

Definition at line 45 of file afopr_Wilson_eo.h.

◆ m_Nx2v

template<typename AFIELD >
int AFopr_Wilson_eo< AFIELD >::m_Nx2v
protected

Definition at line 49 of file afopr_Wilson_eo.h.

◆ m_Ny

template<typename AFIELD >
int AFopr_Wilson_eo< AFIELD >::m_Ny
protected

Definition at line 44 of file afopr_Wilson_eo.h.

◆ m_Nyv

template<typename AFIELD >
int AFopr_Wilson_eo< AFIELD >::m_Nyv
protected

Definition at line 49 of file afopr_Wilson_eo.h.

◆ m_Nz

template<typename AFIELD >
int AFopr_Wilson_eo< AFIELD >::m_Nz
protected

Definition at line 44 of file afopr_Wilson_eo.h.

◆ m_repr [1/2]

template<typename AFIELD >
enum AFopr_Wilson_eo::Gamma_repr AFopr_Wilson_eo< AFIELD >::m_repr
protected

gamma matrix representation

◆ m_repr [2/2]

template<typename AFIELD >
std::string AFopr_Wilson_eo< AFIELD >::m_repr
protected

gamma matrix representation

Definition at line 53 of file afopr_Wilson_eo.h.

◆ m_Ueo

template<typename AFIELD >
AFIELD AFopr_Wilson_eo< AFIELD >::m_Ueo
protected

gauge config. with even-odd separation

gauge config in even-odd index

Definition at line 56 of file afopr_Wilson_eo.h.

◆ m_Ulex

template<typename AFIELD >
AFIELD AFopr_Wilson_eo< AFIELD >::m_Ulex
protected

converted gauge config with boundary conditions

Definition at line 60 of file afopr_Wilson_eo.h.

◆ m_v1

template<typename AFIELD >
AFIELD AFopr_Wilson_eo< AFIELD >::m_v1
protected

Definition at line 60 of file afopr_Wilson_eo.h.

◆ m_v2

template<typename AFIELD >
AFIELD AFopr_Wilson_eo< AFIELD >::m_v2
protected

working vectors

working field.

Definition at line 60 of file afopr_Wilson_eo.h.

◆ m_vl

template<typename AFIELD >
Bridge::VerboseLevel AFopr_Wilson_eo< AFIELD >::m_vl
protected

verbose level

Definition at line 49 of file afopr_Wilson_eo.h.

◆ m_z1

template<typename AFIELD >
AFIELD AFopr_Wilson_eo< AFIELD >::m_z1
protected

lexical field: used in convert/reverse.

Definition at line 66 of file afopr_Wilson_eo.h.


The documentation for this class was generated from the following files: