Bridge++  Ver. 1.2.x
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Fopr_Wilson_eo Class Reference

Even-odd Wilson fermion operator. More...

#include <fopr_Wilson_eo.h>

Inheritance diagram for Fopr_Wilson_eo:
Fopr_eo Fopr

Classes

class  Fopr_Wilson_eo_impl
 Implementation of even-odd Wilson fermion operator. More...
 

Public Member Functions

 Fopr_Wilson_eo ()
 
 Fopr_Wilson_eo (std::string repr)
 
 ~Fopr_Wilson_eo ()
 
void set_parameters (const Parameters &params)
 
void set_parameters (const double kappa, const std::valarray< int > bc)
 
void set_config (Field *U)
 setting pointer to the gauge configuration. More...
 
void preProp (Field &Be, Field &bo, const Field &b)
 
void postProp (Field &x, const Field &xe, const Field &bo)
 
void prePropD (Field &, Field &, const Field &)
 
void postPropD (Field &, const Field &, const Field &)
 
void prePropDag (Field &, Field &, const Field &)
 
void postPropDag (Field &, const Field &, const Field &)
 
const Field mult (const Field &f)
 multiplies fermion operator to a given field and returns the resultant field. More...
 
const Field mult_dag (const Field &f)
 hermitian conjugate of mult(const Field&). More...
 
void mult (Field &v, const Field &f)
 multiplies fermion operator to a given field (2nd argument) More...
 
void mult_dag (Field &v, const Field &f)
 hermitian conjugate of mult(Field&, const Field&). More...
 
void set_mode (std::string mode)
 setting the mode of multiplication if necessary. Default implementation here is just to avoid irrelevant call. More...
 
std::string get_mode () const
 
void assert_single_thread ()
 function returning Field instance must be called from single thread. More...
 
double flop_count ()
 this returns the number of floating point number operations. More...
 
void mult_undef (Field &, const Field &)
 
void D (Field &v, const Field &f)
 
void Ddag (Field &v, const Field &f)
 
void DdagD (Field &v, const Field &f)
 
void DDdag (Field &v, const Field &f)
 
void H (Field &v, const Field &f)
 
void mult_gm5 (Field &v, const Field &f)
 
const Field MeoMoe (const Field &f)
 
const Field D (const Field &f)
 
const Field Ddag (const Field &f)
 
const Field DdagD (const Field &f)
 
const Field DDdag (const Field &f)
 
const Field H (const Field &f)
 
const Field mult_gm5 (const Field &)
 
const Field_F Meo (const Field_F &, const int ieo)
 
const Field_F Mdageo (const Field_F &, const int ieo)
 
void Meo (Field &, const Field &, const int ieo)
 even-odd operatior: ieo=0: even <– odd, ieo=1: odd <– even More...
 
const Field_F Meo_gm5 (const Field_F &, const int ieo)
 
const Field gm5p (const int mu, const Field &v)
 gamma_5 (1 - gamma_mu) v(x + mu) More...
 
int field_nvol ()
 returns the volume for which the fermion operator is defined. More...
 
int field_nin ()
 returns the on-site d.o.f. for which the fermion operator is defined. More...
 
int field_nex ()
 returns the external d.o.f. for which the fermion operator is defined. More...
 
- Public Member Functions inherited from Fopr_eo
virtual ~Fopr_eo ()
 
- Public Member Functions inherited from Fopr
 Fopr ()
 
virtual ~Fopr ()
 
void set_parameter_verboselevel (const Bridge::VerboseLevel vl)
 
virtual void mult_up (int mu, Field &, const Field &)
 nearest neighbor hopping term: temporary entry [H.Matsufuru] More...
 
virtual void mult_dn (int mu, Field &, const Field &)
 

Static Public Attributes

static const std::string class_name = "Fopr_Wilson_eo"
 

Private Member Functions

void mult_p (int mu, Field_F &, const Field_F &, const int ieo)
 
void mult_m (int mu, Field_F &, const Field_F &, const int ieo)
 

Private Attributes

int m_Nc
 
int m_Nd
 
int m_Ndim
 
int m_Nvol
 
int m_Nvol2
 
double m_kappa
 
std::valarray< int > m_boundary
 
Index_eo m_index
 
Field_Gm_Ueo
 
ShiftField_eo shift
 
Field_F trf
 
Field_F trf2
 
Vec_SU_N v1
 
Vec_SU_N v2
 
std::valarray< GammaMatrixm_GM
 
std::string m_mode
 
std::string m_repr
 
void(Fopr_Wilson_eo::* m_mult )(Field &, const Field &)
 
void(Fopr_Wilson_eo::* m_mult_dag )(Field &, const Field &)
 
void(Fopr_Wilson_eo::* m_D )(Field &, const Field &)
 
void(Fopr_Wilson_eo::* m_gm5 )(Field &, const Field &)
 
void(Fopr_Wilson_eo::* m_preProp )(Field &, Field &, const Field &)
 
void(Fopr_Wilson_eo::* m_postProp )(Field &, const Field &, const Field &)
 
Fopr_Wilson_eo_implm_impl
 

Additional Inherited Members

- Protected Attributes inherited from Fopr
Bridge::VerboseLevel m_vl
 

Detailed Description

Even-odd Wilson fermion operator.

This class is an even-odd version of Wilson fermion operator. At present this is rough implementation, while correctly works, and to be updated by supplying complete functionality. Only the functions needed for even-odd preconditioned solver is ready. 20 Jun 2012 S.UEDA YAML is implemented. [14 Nov 2012 Y.Namekawa] Selector is implemented. [03 Mar 2013 Y.Namekawa] (Selectors are replaced with factories by Aoyama-san) Implementation is separated to Fopr_Wilson_eo_impl class. [06 Jul 2014 H.Matsufuru]

Definition at line 53 of file fopr_Wilson_eo.h.

Constructor & Destructor Documentation

Fopr_Wilson_eo::Fopr_Wilson_eo ( )

Definition at line 47 of file fopr_Wilson_eo.cpp.

Fopr_Wilson_eo::Fopr_Wilson_eo ( std::string  repr)

Definition at line 59 of file fopr_Wilson_eo.cpp.

Fopr_Wilson_eo::~Fopr_Wilson_eo ( )

Definition at line 71 of file fopr_Wilson_eo.cpp.

Member Function Documentation

void Fopr_Wilson_eo::assert_single_thread ( )

function returning Field instance must be called from single thread.

Definition at line 106 of file fopr_Wilson_eo.cpp.

void Fopr_Wilson_eo::D ( Field v,
const Field f 
)

Definition at line 132 of file fopr_Wilson_eo.cpp.

const Field Fopr_Wilson_eo::D ( const Field f)

Definition at line 163 of file fopr_Wilson_eo.cpp.

void Fopr_Wilson_eo::Ddag ( Field v,
const Field f 
)

Definition at line 136 of file fopr_Wilson_eo.cpp.

const Field Fopr_Wilson_eo::Ddag ( const Field f)

Definition at line 174 of file fopr_Wilson_eo.cpp.

void Fopr_Wilson_eo::DdagD ( Field v,
const Field f 
)

Definition at line 140 of file fopr_Wilson_eo.cpp.

const Field Fopr_Wilson_eo::DdagD ( const Field f)

Definition at line 185 of file fopr_Wilson_eo.cpp.

void Fopr_Wilson_eo::DDdag ( Field v,
const Field f 
)

Definition at line 144 of file fopr_Wilson_eo.cpp.

const Field Fopr_Wilson_eo::DDdag ( const Field f)

Definition at line 196 of file fopr_Wilson_eo.cpp.

int Fopr_Wilson_eo::field_nex ( )
inlinevirtual

returns the external d.o.f. for which the fermion operator is defined.

Implements Fopr_eo.

Definition at line 200 of file fopr_Wilson_eo.h.

int Fopr_Wilson_eo::field_nin ( )
inlinevirtual

returns the on-site d.o.f. for which the fermion operator is defined.

Implements Fopr_eo.

Definition at line 199 of file fopr_Wilson_eo.h.

int Fopr_Wilson_eo::field_nvol ( )
inlinevirtual

returns the volume for which the fermion operator is defined.

Implements Fopr_eo.

Definition at line 198 of file fopr_Wilson_eo.h.

double Fopr_Wilson_eo::flop_count ( )
virtual

this returns the number of floating point number operations.

Reimplemented from Fopr.

Definition at line 119 of file fopr_Wilson_eo.cpp.

std::string Fopr_Wilson_eo::get_mode ( ) const
inlinevirtual

Reimplemented from Fopr_eo.

Definition at line 161 of file fopr_Wilson_eo.h.

const Field Fopr_Wilson_eo::gm5p ( const int  mu,
const Field v 
)

gamma_5 (1 - gamma_mu) v(x + mu)

Definition at line 262 of file fopr_Wilson_eo.cpp.

void Fopr_Wilson_eo::H ( Field v,
const Field f 
)

Definition at line 148 of file fopr_Wilson_eo.cpp.

const Field Fopr_Wilson_eo::H ( const Field f)

Definition at line 207 of file fopr_Wilson_eo.cpp.

const Field_F Fopr_Wilson_eo::Mdageo ( const Field_F f,
const int  ieo 
)

Definition at line 240 of file fopr_Wilson_eo.cpp.

const Field_F Fopr_Wilson_eo::Meo ( const Field_F f,
const int  ieo 
)

Definition at line 229 of file fopr_Wilson_eo.cpp.

void Fopr_Wilson_eo::Meo ( Field w,
const Field f,
const int  ieo 
)

even-odd operatior: ieo=0: even <– odd, ieo=1: odd <– even

Definition at line 293 of file fopr_Wilson_eo.cpp.

const Field_F Fopr_Wilson_eo::Meo_gm5 ( const Field_F f,
const int  ieo 
)

Definition at line 251 of file fopr_Wilson_eo.cpp.

const Field Fopr_Wilson_eo::MeoMoe ( const Field f)

Definition at line 152 of file fopr_Wilson_eo.cpp.

const Field Fopr_Wilson_eo::mult ( const Field )
inlinevirtual

multiplies fermion operator to a given field and returns the resultant field.

Implements Fopr_eo.

Definition at line 110 of file fopr_Wilson_eo.h.

void Fopr_Wilson_eo::mult ( Field ,
const Field  
)
inlinevirtual

multiplies fermion operator to a given field (2nd argument)

Reimplemented from Fopr_eo.

Definition at line 126 of file fopr_Wilson_eo.h.

const Field Fopr_Wilson_eo::mult_dag ( const Field )
inlinevirtual

hermitian conjugate of mult(const Field&).

Reimplemented from Fopr_eo.

Definition at line 118 of file fopr_Wilson_eo.h.

void Fopr_Wilson_eo::mult_dag ( Field ,
const Field  
)
inlinevirtual

hermitian conjugate of mult(Field&, const Field&).

Reimplemented from Fopr_eo.

Definition at line 129 of file fopr_Wilson_eo.h.

void Fopr_Wilson_eo::mult_gm5 ( Field v,
const Field f 
)

Definition at line 289 of file fopr_Wilson_eo.cpp.

const Field Fopr_Wilson_eo::mult_gm5 ( const Field f)

Definition at line 218 of file fopr_Wilson_eo.cpp.

void Fopr_Wilson_eo::mult_m ( int  mu,
Field_F w,
const Field_F f,
const int  ieo 
)
private

Definition at line 303 of file fopr_Wilson_eo.cpp.

void Fopr_Wilson_eo::mult_p ( int  mu,
Field_F w,
const Field_F f,
const int  ieo 
)
private

Definition at line 297 of file fopr_Wilson_eo.cpp.

void Fopr_Wilson_eo::mult_undef ( Field ,
const Field  
)

Definition at line 112 of file fopr_Wilson_eo.cpp.

void Fopr_Wilson_eo::postProp ( Field x,
const Field xe,
const Field bo 
)
inlinevirtual

Implements Fopr_eo.

Definition at line 102 of file fopr_Wilson_eo.h.

void Fopr_Wilson_eo::postPropD ( Field x,
const Field xe,
const Field bo 
)

Definition at line 277 of file fopr_Wilson_eo.cpp.

void Fopr_Wilson_eo::postPropDag ( Field x,
const Field xe,
const Field bo 
)

Definition at line 285 of file fopr_Wilson_eo.cpp.

void Fopr_Wilson_eo::preProp ( Field Be,
Field bo,
const Field b 
)
inlinevirtual

Implements Fopr_eo.

Definition at line 99 of file fopr_Wilson_eo.h.

void Fopr_Wilson_eo::prePropD ( Field Be,
Field bo,
const Field b 
)

Definition at line 273 of file fopr_Wilson_eo.cpp.

void Fopr_Wilson_eo::prePropDag ( Field Be,
Field bo,
const Field b 
)

Definition at line 281 of file fopr_Wilson_eo.cpp.

void Fopr_Wilson_eo::set_config ( Field )
virtual

setting pointer to the gauge configuration.

Implements Fopr_eo.

Definition at line 102 of file fopr_Wilson_eo.cpp.

void Fopr_Wilson_eo::set_mode ( std::string  mode)
inlinevirtual

setting the mode of multiplication if necessary. Default implementation here is just to avoid irrelevant call.

Reimplemented from Fopr_eo.

Definition at line 132 of file fopr_Wilson_eo.h.

void Fopr_Wilson_eo::set_parameters ( const Parameters params)
virtual

Implements Fopr.

Definition at line 75 of file fopr_Wilson_eo.cpp.

void Fopr_Wilson_eo::set_parameters ( const double  kappa,
const std::valarray< int >  bc 
)

Definition at line 98 of file fopr_Wilson_eo.cpp.

Member Data Documentation

const std::string Fopr_Wilson_eo::class_name = "Fopr_Wilson_eo"
static

Definition at line 56 of file fopr_Wilson_eo.h.

std::valarray<int> Fopr_Wilson_eo::m_boundary
private

Definition at line 63 of file fopr_Wilson_eo.h.

void(Fopr_Wilson_eo::* Fopr_Wilson_eo::m_D)(Field &, const Field &)
private

Definition at line 80 of file fopr_Wilson_eo.h.

std::valarray<GammaMatrix> Fopr_Wilson_eo::m_GM
private

Definition at line 71 of file fopr_Wilson_eo.h.

void(Fopr_Wilson_eo::* Fopr_Wilson_eo::m_gm5)(Field &, const Field &)
private

Definition at line 81 of file fopr_Wilson_eo.h.

Fopr_Wilson_eo_impl* Fopr_Wilson_eo::m_impl
private

Definition at line 208 of file fopr_Wilson_eo.h.

Index_eo Fopr_Wilson_eo::m_index
private

Definition at line 64 of file fopr_Wilson_eo.h.

double Fopr_Wilson_eo::m_kappa
private

Definition at line 62 of file fopr_Wilson_eo.h.

std::string Fopr_Wilson_eo::m_mode
private

Definition at line 73 of file fopr_Wilson_eo.h.

void(Fopr_Wilson_eo::* Fopr_Wilson_eo::m_mult)(Field &, const Field &)
private

Definition at line 78 of file fopr_Wilson_eo.h.

void(Fopr_Wilson_eo::* Fopr_Wilson_eo::m_mult_dag)(Field &, const Field &)
private

Definition at line 79 of file fopr_Wilson_eo.h.

int Fopr_Wilson_eo::m_Nc
private

Definition at line 59 of file fopr_Wilson_eo.h.

int Fopr_Wilson_eo::m_Nd
private

Definition at line 59 of file fopr_Wilson_eo.h.

int Fopr_Wilson_eo::m_Ndim
private

Definition at line 59 of file fopr_Wilson_eo.h.

int Fopr_Wilson_eo::m_Nvol
private

Definition at line 60 of file fopr_Wilson_eo.h.

int Fopr_Wilson_eo::m_Nvol2
private

Definition at line 60 of file fopr_Wilson_eo.h.

void(Fopr_Wilson_eo::* Fopr_Wilson_eo::m_postProp)(Field &, const Field &, const Field &)
private

Definition at line 83 of file fopr_Wilson_eo.h.

void(Fopr_Wilson_eo::* Fopr_Wilson_eo::m_preProp)(Field &, Field &, const Field &)
private

Definition at line 82 of file fopr_Wilson_eo.h.

std::string Fopr_Wilson_eo::m_repr
private

Definition at line 74 of file fopr_Wilson_eo.h.

Field_G* Fopr_Wilson_eo::m_Ueo
private

Definition at line 65 of file fopr_Wilson_eo.h.

ShiftField_eo Fopr_Wilson_eo::shift
private

Definition at line 67 of file fopr_Wilson_eo.h.

Field_F Fopr_Wilson_eo::trf
private

Definition at line 68 of file fopr_Wilson_eo.h.

Field_F Fopr_Wilson_eo::trf2
private

Definition at line 68 of file fopr_Wilson_eo.h.

Vec_SU_N Fopr_Wilson_eo::v1
private

Definition at line 69 of file fopr_Wilson_eo.h.

Vec_SU_N Fopr_Wilson_eo::v2
private

Definition at line 69 of file fopr_Wilson_eo.h.


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