Go to the documentation of this file.
14 #ifndef FOPR_WILSON_IMPL_ORG_INCLUDED
15 #define FOPR_WILSON_IMPL_ORG_INCLUDED
58 std::vector<GammaMatrix>
m_GM;
80 void set_parameters(
const double kappa,
const std::vector<int> bc);
86 void set_mode(
const std::string mode);
106 void D_ex(
Field& v,
const int ex1,
const Field& w,
const int ex2);
117 const int ex2,
const int ipm);
137 void init(std::string repr);
148 static Fopr *create_object()
153 static Fopr *create_object_with_repr(
const std::string& repr)
164 static bool register_factory()
167 init &= Fopr::Factory_noarg::Register(
"Wilson/Org", create_object);
168 init &= Fopr::Factory_string::Register(
"Wilson/Org", create_object_with_repr);
169 init &= Fopr::Factory_params::Register(
"Wilson/Org", create_object_with_params);
Bridge::VerboseLevel m_vl
verbose level
void set_mode(const std::string mode)
setting the mode of multiplication if necessary. Default implementation here is just to avoid irrelev...
std::string get_mode() const
void proj_chiral(Field &w, const int ex1, const Field &v, const int ex2, const int ipm)
void init(const Parameters ¶ms)
standard initial setup.
Field_F m_v2
working fields with spinor structure
DEPRECATED Fopr_Wilson(const std::string repr)
void mult_up(const int mu, Field &v, const Field &w)
upward nearest neighbor hopping term.
int field_nex()
returns the external degree of freedom of the fermion field.
void get_parameters(Parameters ¶ms) const
gets parameters by a Parameter object: to be implemented in a subclass.
void setup()
common parts of setup.
Fopr_Wilson(const Parameters ¶ms)
standard constructor with input parameters.
void H(Field &, const Field &)
void Ddag(Field &, const Field &)
void set_parameters(const Parameters ¶ms)
sets parameters by a Parameter object: to be implemented in a subclass.
void mult_gm5p(const int mu, Field &v, const Field &w)
double m_kappa
hopping parameter
void mult_dag(Field &v, const Field &w)
hermitian conjugate of mult.
std::string m_repr
Dirac matrix representation.
void tidyup()
final clean-up.
void mult(Field &v, const Field &w)
multiplies fermion operator to a given field.
static const std::string class_name
int field_nvol()
returns the volume of the fermion field.
void D_ex(Field &v, const int ex1, const Field &w, const int ex2)
Methods to shift a field in the lexical site index.
void mult_gm5(Field &v, const Field &w)
multiplies gamma_5 matrix.
const Field_G * m_U
pointer ot gauge configuration
std::string m_mode
matrix multiplcation mode
void mult_dn(const int mu, Field &v, const Field &w)
downward nearest neighbor hopping term.
std::vector< int > m_boundary
boundary condition
void set_config(Field *U)
sets the gauge configuration.
Wilson-type fermion field.
void D(Field &, const Field &)
Container of Field-type object.
void DDdag(Field &, const Field &)
std::vector< GammaMatrix > m_GM
void DdagD(Field &, const Field &)
Fopr_Wilson & operator=(const Fopr_Wilson &)
int field_nin()
returns the on-site degree of freedom of the fermion field.
Fopr_Wilson(const Fopr_Wilson &)
double flop_count()
this returns the number of floating point operations.