Go to the documentation of this file.
14 #ifndef FOPR_WILSON_GENERAL_IMPL_ORG_INCLUDED
15 #define FOPR_WILSON_GENERAL_IMPL_ORG_INCLUDED
62 std::vector<GammaMatrix>
m_GM;
78 std::string repr = params.
get_string(
"gamma_matrix_type");
85 void init(
const std::string repr);
89 const double nu_s,
const double r_s);
91 const double nu_s,
const double r_s,
92 const std::vector<int> bc);
99 void set_mode(
const std::string mode);
104 { (this->*
m_mult)(v, f); }
115 void D_ex(
Field& v,
const int ex1,
const Field& f,
const int ex2);
189 static Fopr *create_object()
194 static Fopr *create_object_with_arg(
const std::string& repr)
205 static bool register_factory()
208 init &= Fopr::Factory_noarg::Register(
"WilsonGeneral/Org", create_object);
209 init &= Fopr::Factory_string::Register(
"WilsonGeneral/Org", create_object_with_arg);
210 init &= Fopr::Factory_params::Register(
"WilsonGeneral/Org", create_object_with_params);
std::string get_mode() const
void init(const std::string repr)
void Ddag(Field &w, const Field &f)
void set_config(Field *U)
sets the gauge configuration.
Common parameter class: provides parameters as singleton.
Fopr_WilsonGeneral & operator=(const Fopr_WilsonGeneral &)
DEPRECATED Fopr_WilsonGeneral()
void D_ex(Field &v, const int ex1, const Field &f, const int ex2)
void DdagD(Field &w, const Field &f)
int field_nvol()
returns the volume of the fermion field.
Fopr_WilsonGeneral(const Fopr_WilsonGeneral &)
void mult_undef(Field &, const Field &f)
std::vector< int > m_boundary
void mult_up(const int mu, Field &w, const Field &f)
upward nearest neighbor hopping term.
DEPRECATED Fopr_WilsonGeneral(std::string repr)
void mult_dag(Field &v, const Field &f)
hermitian conjugate of mult.
void(Fopr_WilsonGeneral::* m_mult)(Field &, const Field &)
void mult_dn(const int mu, Field &w, const Field &f)
downward nearest neighbor hopping term.
Bridge::VerboseLevel m_vl
int field_nin()
returns the on-site degree of freedom of the fermion field.
void D(Field &v, const Field &f)
void H(Field &w, const Field &f)
Fopr_WilsonGeneral(const Parameters ¶ms)
int field_nex()
returns the external degree of freedom of the fermion field.
void DDdag(Field &w, const Field &f)
double flop_count()
this returns the number of floating point operations.
const Field_F mult_gm5p(const int mu, const Field_F &w)
static const std::string class_name
void(Fopr_WilsonGeneral::* m_mult_dag)(Field &, const Field &)
void mult(Field &v, const Field &f)
multiplies fermion operator to a given field.
std::vector< GammaMatrix > m_GM
Methods to shift a field in the lexical site index.
void get_parameters(Parameters ¶ms) const
gets parameters by a Parameter object: to be implemented in a subclass.
void set_parameters(const Parameters ¶ms)
sets parameters by a Parameter object: to be implemented in a subclass.
void proj_chiral(Field &w, const int ex1, const Field &v, const int ex2, const int ipm)
Wilson-type fermion field.
string get_string(const string &key) const
void crucial(const char *format,...)
Container of Field-type object.
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 &f)
multiplies gamma_5 matrix.