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

#include <fopr_CloverTerm_eo.h>

Inheritance diagram for Fopr_CloverTerm_eo:
Fopr

Public Member Functions

 Fopr_CloverTerm_eo (std::string repr)
 
 ~Fopr_CloverTerm_eo ()
 
void set_parameters (const Parameters &params)
 
void set_parameters (const double kappa, const double cSW, const std::valarray< int > bc)
 
void set_config (Field *Ueo)
 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)
 return D = D^dag = 1-f_ee or 1-f_oo 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_isigma (Field_F &, const Field_F &, const int mu, const int nu)
 
const Field D (const Field &f, const int ieo)
 
void D (Field &v, const Field &f, const int ieo)
 
void D_dirac (Field &v, const Field &f, const int ieo)
 explicit implementation for Dirac representation (for Imp-version). More...
 
void D_chiral (Field &v, const Field &f, const int ieo)
 explicit implementation for Chiral representation (for Imp-version). More...
 
const Field_F mult_csw_inv (const Field_F &, const int ieo)
 
const Field_G trSigmaInv (const int mu, const int nu)
 
void mult_csw_inv (Field &, const Field &, const int ieo)
 
void mult_csw_inv_dirac (Field &, const Field &, const int ieo)
 
void mult_csw_inv_chiral (Field &, const Field &, const int ieo)
 
std::vector< double > csmatrix (const int &)
 
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 ()
 retuns number of floating point number 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_eo"
 

Private Member Functions

void init (std::string repr)
 
void tidyup ()
 
void solve_csw_inv ()
 
void set_csw ()
 
void set_csw_dirac ()
 explicit implementation for Dirac representation (for Imp-version). More...
 
void set_csw_chiral ()
 explicit implementation for Chiral representation (for Imp-version). More...
 
void mult_csw (Field_F &, const Field_F &, const int ieo)
 
void set_fieldstrength (Field_G &, const int, const int)
 
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
 
int m_Nvol
 
int m_Nvol2
 
int m_Ndim
 
int m_Nc
 
int m_Nd
 
int m_Ndm2
 
int m_NinF
 
std::valarray< GammaMatrixm_GM
 Gamma Matrix and Sigma_{mu,nu} = -i [Gamma_mu, Gamma_nu] /2. More...
 
std::valarray< GammaMatrixm_SG
 
void(Fopr_CloverTerm_eo::* m_mult )(Field &, const Field &)
 
Index_eo idx
 
const Field_Gm_Ueo
 
Index_eo m_idx
 
ShiftField_eo m_shift_eo
 
Field_Fm_fee_inv
 
Field_Fm_foo_inv
 
Field_F m_vf
 
Field_F m_ff
 
Vec_SU_N v1
 
Vec_SU_N v2
 
Field_G m_T
 m_T = 1 - kappa c_SW sigma F / 2 More...
 
valarray< Field_Gm_T2
 m_T2 is used in Org-version. More...
 

Additional Inherited Members

- Protected Attributes inherited from Fopr
Bridge::VerboseLevel m_vl
 

Detailed Description

Definition at line 61 of file fopr_CloverTerm_eo.h.

Constructor & Destructor Documentation

Fopr_CloverTerm_eo::Fopr_CloverTerm_eo ( std::string  repr)
inline

Definition at line 103 of file fopr_CloverTerm_eo.h.

Fopr_CloverTerm_eo::~Fopr_CloverTerm_eo ( )
inline

Definition at line 115 of file fopr_CloverTerm_eo.h.

Member Function Documentation

std::vector< double > Fopr_CloverTerm_eo::csmatrix ( const int &  site)

Definition at line 404 of file fopr_CloverTerm_eo.cpp.

const Field Fopr_CloverTerm_eo::D ( const Field f,
const int  ieo 
)
inline

Definition at line 169 of file fopr_CloverTerm_eo.h.

void Fopr_CloverTerm_eo::D ( Field v,
const Field f,
const int  ieo 
)

Definition at line 435 of file fopr_CloverTerm_eo.cpp.

void Fopr_CloverTerm_eo::D_chiral ( Field v,
const Field f,
const int  ieo 
)

explicit implementation for Chiral representation (for Imp-version).

Definition at line 500 of file fopr_CloverTerm_eo.cpp.

void Fopr_CloverTerm_eo::D_dirac ( Field v,
const Field f,
const int  ieo 
)

explicit implementation for Dirac representation (for Imp-version).

Definition at line 446 of file fopr_CloverTerm_eo.cpp.

int Fopr_CloverTerm_eo::field_nex ( )
inlinevirtual

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

Implements Fopr.

Definition at line 199 of file fopr_CloverTerm_eo.h.

int Fopr_CloverTerm_eo::field_nin ( )
inlinevirtual

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

Implements Fopr.

Definition at line 198 of file fopr_CloverTerm_eo.h.

int Fopr_CloverTerm_eo::field_nvol ( )
inlinevirtual

returns the volume for which the fermion operator is defined.

Implements Fopr.

Definition at line 197 of file fopr_CloverTerm_eo.h.

double Fopr_CloverTerm_eo::flop_count ( )
virtual

retuns number of floating point number operations.

Reimplemented from Fopr.

Definition at line 796 of file fopr_CloverTerm_eo.cpp.

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

Reimplemented from Fopr.

Definition at line 127 of file fopr_CloverTerm_eo.h.

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

Definition at line 61 of file fopr_CloverTerm_eo.cpp.

const Field Fopr_CloverTerm_eo::mult ( const Field f)
inlinevirtual

return D = D^dag = 1-f_ee or 1-f_oo

Implements Fopr.

Definition at line 133 of file fopr_CloverTerm_eo.h.

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

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

Reimplemented from Fopr.

Definition at line 149 of file fopr_CloverTerm_eo.h.

void Fopr_CloverTerm_eo::mult_csw ( Field_F ,
const Field_F ,
const int  ieo 
)
private
const Field_F Fopr_CloverTerm_eo::mult_csw_inv ( const Field_F f,
const int  ieo 
)

Definition at line 257 of file fopr_CloverTerm_eo.cpp.

void Fopr_CloverTerm_eo::mult_csw_inv ( Field v,
const Field f,
const int  ieo 
)

Definition at line 269 of file fopr_CloverTerm_eo.cpp.

void Fopr_CloverTerm_eo::mult_csw_inv_chiral ( Field v,
const Field f,
const int  ieo 
)

Definition at line 342 of file fopr_CloverTerm_eo.cpp.

void Fopr_CloverTerm_eo::mult_csw_inv_dirac ( Field v,
const Field f,
const int  ieo 
)

Definition at line 281 of file fopr_CloverTerm_eo.cpp.

const Field Fopr_CloverTerm_eo::mult_dag ( const Field )
inlinevirtual

hermitian conjugate of mult(const Field&).

Reimplemented from Fopr.

Definition at line 141 of file fopr_CloverTerm_eo.h.

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

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

Reimplemented from Fopr.

Definition at line 161 of file fopr_CloverTerm_eo.h.

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

Definition at line 548 of file fopr_CloverTerm_eo.cpp.

void Fopr_CloverTerm_eo::set_config ( Field )
virtual

setting pointer to the gauge configuration.

Implements Fopr.

Definition at line 177 of file fopr_CloverTerm_eo.cpp.

void Fopr_CloverTerm_eo::set_csw ( )
private

Definition at line 557 of file fopr_CloverTerm_eo.cpp.

void Fopr_CloverTerm_eo::set_csw_chiral ( )
private

explicit implementation for Chiral representation (for Imp-version).

Definition at line 636 of file fopr_CloverTerm_eo.cpp.

void Fopr_CloverTerm_eo::set_csw_dirac ( )
private

explicit implementation for Dirac representation (for Imp-version).

Definition at line 572 of file fopr_CloverTerm_eo.cpp.

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

Definition at line 718 of file fopr_CloverTerm_eo.cpp.

void Fopr_CloverTerm_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.

Definition at line 122 of file fopr_CloverTerm_eo.h.

void Fopr_CloverTerm_eo::set_parameters ( const Parameters params)
virtual

Implements Fopr.

Definition at line 126 of file fopr_CloverTerm_eo.cpp.

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

Definition at line 151 of file fopr_CloverTerm_eo.cpp.

int Fopr_CloverTerm_eo::sg_index ( int  mu,
int  nu 
)
inlineprivate

Definition at line 221 of file fopr_CloverTerm_eo.h.

void Fopr_CloverTerm_eo::solve_csw_inv ( )
private

Definition at line 187 of file fopr_CloverTerm_eo.cpp.

void Fopr_CloverTerm_eo::tidyup ( )
private

Definition at line 118 of file fopr_CloverTerm_eo.cpp.

const Field_G Fopr_CloverTerm_eo::trSigmaInv ( const int  mu,
const int  nu 
)

Definition at line 764 of file fopr_CloverTerm_eo.cpp.

Member Data Documentation

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

Definition at line 64 of file fopr_CloverTerm_eo.h.

Index_eo Fopr_CloverTerm_eo::idx
private

Definition at line 84 of file fopr_CloverTerm_eo.h.

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

Definition at line 70 of file fopr_CloverTerm_eo.h.

double Fopr_CloverTerm_eo::m_cSW
private

Definition at line 69 of file fopr_CloverTerm_eo.h.

Field_F* Fopr_CloverTerm_eo::m_fee_inv
private

Definition at line 91 of file fopr_CloverTerm_eo.h.

Field_F Fopr_CloverTerm_eo::m_ff
private

Definition at line 93 of file fopr_CloverTerm_eo.h.

Field_F* Fopr_CloverTerm_eo::m_foo_inv
private

Definition at line 92 of file fopr_CloverTerm_eo.h.

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

Gamma Matrix and Sigma_{mu,nu} = -i [Gamma_mu, Gamma_nu] /2.

Definition at line 80 of file fopr_CloverTerm_eo.h.

Index_eo Fopr_CloverTerm_eo::m_idx
private

Definition at line 88 of file fopr_CloverTerm_eo.h.

double Fopr_CloverTerm_eo::m_kappa
private

Definition at line 68 of file fopr_CloverTerm_eo.h.

std::string Fopr_CloverTerm_eo::m_mode
private

Definition at line 72 of file fopr_CloverTerm_eo.h.

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

Definition at line 82 of file fopr_CloverTerm_eo.h.

int Fopr_CloverTerm_eo::m_Nc
private

Definition at line 76 of file fopr_CloverTerm_eo.h.

int Fopr_CloverTerm_eo::m_Nd
private

Definition at line 76 of file fopr_CloverTerm_eo.h.

int Fopr_CloverTerm_eo::m_Ndim
private

Definition at line 75 of file fopr_CloverTerm_eo.h.

int Fopr_CloverTerm_eo::m_Ndm2
private

Definition at line 76 of file fopr_CloverTerm_eo.h.

int Fopr_CloverTerm_eo::m_NinF
private

Definition at line 77 of file fopr_CloverTerm_eo.h.

int Fopr_CloverTerm_eo::m_Nvol
private

Definition at line 74 of file fopr_CloverTerm_eo.h.

int Fopr_CloverTerm_eo::m_Nvol2
private

Definition at line 74 of file fopr_CloverTerm_eo.h.

std::string Fopr_CloverTerm_eo::m_repr
private

Definition at line 71 of file fopr_CloverTerm_eo.h.

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

Definition at line 80 of file fopr_CloverTerm_eo.h.

ShiftField_eo Fopr_CloverTerm_eo::m_shift_eo
private

Definition at line 89 of file fopr_CloverTerm_eo.h.

Field_G Fopr_CloverTerm_eo::m_T
private

m_T = 1 - kappa c_SW sigma F / 2

Definition at line 97 of file fopr_CloverTerm_eo.h.

valarray<Field_G> Fopr_CloverTerm_eo::m_T2
private

m_T2 is used in Org-version.

Definition at line 100 of file fopr_CloverTerm_eo.h.

const Field_G* Fopr_CloverTerm_eo::m_Ueo
private

Definition at line 86 of file fopr_CloverTerm_eo.h.

Field_F Fopr_CloverTerm_eo::m_vf
private

Definition at line 93 of file fopr_CloverTerm_eo.h.

Vec_SU_N Fopr_CloverTerm_eo::v1
private

Definition at line 94 of file fopr_CloverTerm_eo.h.

Vec_SU_N Fopr_CloverTerm_eo::v2
private

Definition at line 94 of file fopr_CloverTerm_eo.h.


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