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

#include <fopr_CloverTerm.h>

Inheritance diagram for Fopr_CloverTerm:
Fopr

Public Member Functions

 Fopr_CloverTerm ()
 
 Fopr_CloverTerm (std::string repr)
 
 ~Fopr_CloverTerm ()
 
void set_parameters (const Parameters &params)
 
void set_parameters (double kappa, double cSW, std::valarray< int > bc)
 
void set_config (Field *U)
 setting pointer to the gauge configuration. 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
 
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 mult_sigmaF (Field &, const Field &)
 
const Field mult_gm5 (const Field &f)
 
void mult_gm5 (Field &v, const Field &w)
 
void mult_isigma (Field_F &, const Field_F &, const int mu, const int nu)
 
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...
 
double flop_count ()
 this returns the number of floating point operations. More...
 
- 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_CloverTerm"
 

Private Member Functions

void init (std::string repr)
 
void tidyup ()
 
void set_csw ()
 
void set_fieldstrength (Field_G &, const int, const int)
 
void gm5_dirac (Field &, const Field &)
 
void gm5_chiral (Field &, const Field &)
 
void mult_csw (Field &, const Field &)
 
void mult_csw_dirac (Field &, const Field &)
 
void mult_csw_chiral (Field &, const Field &)
 
void mult_csw_dirac (Field_F &, const Field_F &)
 
void mult_csw_chiral (Field_F &, const Field_F &)
 
int sg_index (int mu, int nu)
 

Private Attributes

double m_kappa
 
double m_cSW
 
std::valarray< int > m_boundary
 
std::string m_repr
 
std::string m_mode
 
void(Fopr_CloverTerm::* m_csw )(Field &, const Field &)
 
void(Fopr_CloverTerm::* m_gm5 )(Field &, const Field &)
 
int m_Nc
 
int m_Nd
 
int m_NinF
 
int m_Ndim
 
int m_Nvol
 
const Field_Gm_U
 pointer to gauge configuration. More...
 
ShiftField_lex m_shift
 
Staples m_staple
 
Field_G m_Cup
 
Field_G m_Cdn
 
Field_G m_v1
 
Field_G m_v2
 for calculation of field strength. More...
 
Field_G m_Bx
 
Field_G m_By
 
Field_G m_Bz
 
Field_G m_Ex
 
Field_G m_Ey
 
Field_G m_Ez
 field strength. More...
 
std::valarray< GammaMatrixm_SG
 
GammaMatrix m_GM5
 

Additional Inherited Members

- Protected Attributes inherited from Fopr
Bridge::VerboseLevel m_vl
 

Detailed Description

Definition at line 51 of file fopr_CloverTerm.h.

Constructor & Destructor Documentation

Fopr_CloverTerm::Fopr_CloverTerm ( )
inline

Definition at line 81 of file fopr_CloverTerm.h.

Fopr_CloverTerm::Fopr_CloverTerm ( std::string  repr)
inline

Definition at line 87 of file fopr_CloverTerm.h.

Fopr_CloverTerm::~Fopr_CloverTerm ( )
inline

Definition at line 93 of file fopr_CloverTerm.h.

Member Function Documentation

int Fopr_CloverTerm::field_nex ( )
inlinevirtual

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

Implements Fopr.

Definition at line 162 of file fopr_CloverTerm.h.

int Fopr_CloverTerm::field_nin ( )
inlinevirtual

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

Implements Fopr.

Definition at line 161 of file fopr_CloverTerm.h.

int Fopr_CloverTerm::field_nvol ( )
inlinevirtual

returns the volume for which the fermion operator is defined.

Implements Fopr.

Definition at line 160 of file fopr_CloverTerm.h.

double Fopr_CloverTerm::flop_count ( )
virtual

this returns the number of floating point operations.

Reimplemented from Fopr.

Definition at line 602 of file fopr_CloverTerm_imp.cpp.

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

Reimplemented from Fopr.

Definition at line 107 of file fopr_CloverTerm.h.

void Fopr_CloverTerm::gm5_chiral ( Field w,
const Field f 
)
private

Definition at line 226 of file fopr_CloverTerm_imp.cpp.

void Fopr_CloverTerm::gm5_dirac ( Field w,
const Field f 
)
private

Definition at line 189 of file fopr_CloverTerm_imp.cpp.

void Fopr_CloverTerm::init ( std::string  repr)
private

Definition at line 120 of file fopr_CloverTerm_imp.cpp.

const Field Fopr_CloverTerm::mult ( const Field )
inlinevirtual

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

Implements Fopr.

Definition at line 112 of file fopr_CloverTerm.h.

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

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

Reimplemented from Fopr.

Definition at line 128 of file fopr_CloverTerm.h.

void Fopr_CloverTerm::mult_csw ( Field v,
const Field w 
)
private

Definition at line 279 of file fopr_CloverTerm_imp.cpp.

void Fopr_CloverTerm::mult_csw_chiral ( Field v,
const Field w 
)
private

Definition at line 286 of file fopr_CloverTerm_imp.cpp.

void Fopr_CloverTerm::mult_csw_chiral ( Field_F ,
const Field_F  
)
private
void Fopr_CloverTerm::mult_csw_dirac ( Field v,
const Field w 
)
private

Definition at line 422 of file fopr_CloverTerm_imp.cpp.

void Fopr_CloverTerm::mult_csw_dirac ( Field_F ,
const Field_F  
)
private
const Field Fopr_CloverTerm::mult_dag ( const Field )
inlinevirtual

hermitian conjugate of mult(const Field&).

Reimplemented from Fopr.

Definition at line 120 of file fopr_CloverTerm.h.

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

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

Reimplemented from Fopr.

Definition at line 140 of file fopr_CloverTerm.h.

const Field Fopr_CloverTerm::mult_gm5 ( const Field f)
inline

Definition at line 147 of file fopr_CloverTerm.h.

void Fopr_CloverTerm::mult_gm5 ( Field v,
const Field w 
)

Definition at line 182 of file fopr_CloverTerm_imp.cpp.

void Fopr_CloverTerm::mult_isigma ( Field_F v,
const Field_F w,
const int  mu,
const int  nu 
)

Definition at line 263 of file fopr_CloverTerm_imp.cpp.

void Fopr_CloverTerm::mult_sigmaF ( Field v,
const Field f 
)

Definition at line 272 of file fopr_CloverTerm_imp.cpp.

void Fopr_CloverTerm::set_config ( Field )
virtual

setting pointer to the gauge configuration.

Implements Fopr.

Definition at line 112 of file fopr_CloverTerm_imp.cpp.

void Fopr_CloverTerm::set_csw ( )
private

Definition at line 558 of file fopr_CloverTerm_imp.cpp.

void Fopr_CloverTerm::set_fieldstrength ( Field_G Fst,
const int  mu,
const int  nu 
)
private

Definition at line 570 of file fopr_CloverTerm_imp.cpp.

void Fopr_CloverTerm::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.

Definition at line 102 of file fopr_CloverTerm.h.

void Fopr_CloverTerm::set_parameters ( const Parameters params)
virtual

Implements Fopr.

Definition at line 59 of file fopr_CloverTerm_imp.cpp.

void Fopr_CloverTerm::set_parameters ( double  kappa,
double  cSW,
std::valarray< int >  bc 
)
int Fopr_CloverTerm::sg_index ( int  mu,
int  nu 
)
inlineprivate

Definition at line 185 of file fopr_CloverTerm.h.

void Fopr_CloverTerm::tidyup ( )
private

Definition at line 175 of file fopr_CloverTerm_imp.cpp.

Member Data Documentation

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

Definition at line 54 of file fopr_CloverTerm.h.

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

Definition at line 59 of file fopr_CloverTerm.h.

Field_G Fopr_CloverTerm::m_Bx
private

Definition at line 73 of file fopr_CloverTerm.h.

Field_G Fopr_CloverTerm::m_By
private

Definition at line 73 of file fopr_CloverTerm.h.

Field_G Fopr_CloverTerm::m_Bz
private

Definition at line 73 of file fopr_CloverTerm.h.

Field_G Fopr_CloverTerm::m_Cdn
private

Definition at line 72 of file fopr_CloverTerm.h.

double Fopr_CloverTerm::m_cSW
private

Definition at line 58 of file fopr_CloverTerm.h.

void(Fopr_CloverTerm::* Fopr_CloverTerm::m_csw)(Field &, const Field &)
private

Definition at line 62 of file fopr_CloverTerm.h.

Field_G Fopr_CloverTerm::m_Cup
private

Definition at line 72 of file fopr_CloverTerm.h.

Field_G Fopr_CloverTerm::m_Ex
private

Definition at line 73 of file fopr_CloverTerm.h.

Field_G Fopr_CloverTerm::m_Ey
private

Definition at line 73 of file fopr_CloverTerm.h.

Field_G Fopr_CloverTerm::m_Ez
private

field strength.

Definition at line 73 of file fopr_CloverTerm.h.

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

Definition at line 63 of file fopr_CloverTerm.h.

GammaMatrix Fopr_CloverTerm::m_GM5
private

Definition at line 78 of file fopr_CloverTerm.h.

double Fopr_CloverTerm::m_kappa
private

Definition at line 57 of file fopr_CloverTerm.h.

std::string Fopr_CloverTerm::m_mode
private

Definition at line 61 of file fopr_CloverTerm.h.

int Fopr_CloverTerm::m_Nc
private

Definition at line 65 of file fopr_CloverTerm.h.

int Fopr_CloverTerm::m_Nd
private

Definition at line 65 of file fopr_CloverTerm.h.

int Fopr_CloverTerm::m_Ndim
private

Definition at line 65 of file fopr_CloverTerm.h.

int Fopr_CloverTerm::m_NinF
private

Definition at line 65 of file fopr_CloverTerm.h.

int Fopr_CloverTerm::m_Nvol
private

Definition at line 66 of file fopr_CloverTerm.h.

std::string Fopr_CloverTerm::m_repr
private

Definition at line 60 of file fopr_CloverTerm.h.

std::valarray<GammaMatrix> Fopr_CloverTerm::m_SG
private

Definition at line 77 of file fopr_CloverTerm.h.

ShiftField_lex Fopr_CloverTerm::m_shift
private

Definition at line 70 of file fopr_CloverTerm.h.

Staples Fopr_CloverTerm::m_staple
private

Definition at line 71 of file fopr_CloverTerm.h.

const Field_G* Fopr_CloverTerm::m_U
private

pointer to gauge configuration.

Definition at line 68 of file fopr_CloverTerm.h.

Field_G Fopr_CloverTerm::m_v1
private

Definition at line 72 of file fopr_CloverTerm.h.

Field_G Fopr_CloverTerm::m_v2
private

for calculation of field strength.

Definition at line 72 of file fopr_CloverTerm.h.


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