14 #ifndef FOPR_CLOVERTERM_INCLUDED
15 #define FOPR_CLOVERTERM_INCLUDED
79 std::vector<GammaMatrix>
m_SG;
101 void set_parameters(
double kappa,
double cSW, std::vector<int> bc);
127 vout.
crucial(
"%s: undefined mode = %s\n", class_name.c_str(), m_mode.c_str());
142 const int mu,
const int nu);
153 void init(std::string repr);
169 int sg_index(
int mu,
int nu) {
return mu * m_Ndim + nu; }
void set_config(unique_ptr< Field_G > &U)
void set_config(Field *U)
setting pointer to the gauge configuration.
void mult_sigmaF(Field &, const Field &)
Field_G m_Ez
field strength.
void mult_csw_chiral(Field &, const Field &)
void gm5_chiral(Field &, const Field &)
Container of Field-type object.
void set_parameters(const Parameters ¶ms)
void set_fieldstrength(Field_G &, const int, const int)
Parameters_Fopr_CloverTerm()
Wilson-type fermion field.
Field_G m_v2
for calculation of field strength.
void mult_gm5(Field &v, const Field &w)
void gm5_dirac(Field &, const Field &)
void(Fopr_CloverTerm::* m_gm5)(Field &, const Field &)
void mult_dag(Field &v, const Field &f)
hermitian conjugate of mult(Field&, const Field&).
void mult(Field &v, const Field &f)
multiplies fermion operator to a given field (2nd argument)
void mult_isigma(Field_F &, const Field_F &, const int mu, const int nu)
Fopr_CloverTerm(std::string repr)
int field_nin()
returns the on-site d.o.f. for which the fermion operator is defined.
void init(std::string repr)
void crucial(const char *format,...)
double flop_count()
this returns the number of floating point operations.
void mult_csw(Field &, const Field &)
const Field_G * m_U
pointer to gauge configuration.
static const std::string class_name
void set_mode(std::string mode)
setting the mode of multiplication if necessary. Default implementation here is just to avoid irrelev...
int sg_index(int mu, int nu)
Methods to shift a field in the lexical site index.
int field_nex()
returns the external d.o.f. for which the fermion operator is defined.
std::vector< int > m_boundary
std::string get_mode() const
only for Fopr_Overlap
void mult_csw_dirac(Field &, const Field &)
Base class of fermion operator family.
int field_nvol()
returns the volume for which the fermion operator is defined.
void(Fopr_CloverTerm::* m_csw)(Field &, const Field &)
std::vector< GammaMatrix > m_SG