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