Go to the documentation of this file.
14 #ifndef FOPR_CLOVER_SF_INCLUDED
15 #define FOPR_CLOVER_SF_INCLUDED
84 std::string repr = params.
get_string(
"gamma_matrix_type");
86 if (repr !=
"Dirac") {
98 void set_parameters(
const double kappa,
const double cSW,
const std::vector<int> bc,
99 const std::vector<double> phi,
100 const std::vector<double> phipr);
107 void set_mode(
const std::string mode);
128 const int mu,
const int nu);
138 void init(
const std::string repr);
157 static Fopr *create_object()
168 static bool register_factory()
171 init &= Fopr::Factory_noarg::Register(
"Clover_SF", create_object);
172 init &= Fopr::Factory_params::Register(
"Clover_SF", create_object_with_params);
void set_parameters(const Parameters ¶ms)
sets parameters by a Parameter object: to be implemented in a subclass.
int field_nin()
returns the on-site degree of freedom of the fermion field.
void mult_dag(Field &v, const Field &f)
hermitian conjugate of mult.
Fopr_Clover_SF(const Parameters ¶ms)
void H(Field &, const Field &)
Common parameter class: provides parameters as singleton.
void mult_csw(Field &, const Field &)
std::vector< GammaMatrix > m_SG
void init(const std::string repr)
void get_parameters(Parameters ¶ms) const
gets parameters by a Parameter object: to be implemented in a subclass.
void mult_isigma(Field_F &, const Field_F &, const int mu, const int nu)
void set_config(Field *U)
setup configuration (Note that this method is not multi-threaded).
static const std::string class_name
void DdagD(Field &, const Field &)
Fopr_Wilson_SF * m_fopr_w
int sg_index(const int mu, const int nu)
void set_boundary_zero(Field &)
void mult_gm5(Field &v, const Field &w)
multiplies gamma_5 matrix.
int field_nex()
returns the external degree of freedom of the fermion field.
void set_mode(const std::string mode)
setting the mode of multiplication if necessary. Default implementation here is just to avoid irrelev...
void mult_gm5(Field &v, const Field &w)
multiplies gamma_5 matrix.
void mult(Field &v, const Field &f)
multiplies fermion operator to a given field.
std::vector< int > m_boundary
void D(Field &, const Field &)
Methods to shift a field in the lexical site index.
void set_fieldstrength(Field_G &, const int, const int)
DEPRECATED Fopr_Clover_SF()
void Ddag(Field &, const Field &)
std::vector< GammaMatrix > m_GM
int field_nvol()
returns the volume of the fermion field.
double flop_count()
this returns the number of floating point number operations.
Bridge::VerboseLevel m_vl
Wilson-type fermion field.
string get_string(const string &key) const
std::vector< double > m_phipr
SF boundary condition at t=Nt.
void crucial(const char *format,...)
void mult_csw_dirac(Field &, const Field &)
std::vector< double > m_phi
SF boundary condition at t=0.
Container of Field-type object.
std::string get_mode() const
Wilson fermion operator with SF BC.