14 #ifndef FOPR_WILSON_GENERAL_IMPL_ORG_INCLUDED
15 #define FOPR_WILSON_GENERAL_IMPL_ORG_INCLUDED
60 std::vector<GammaMatrix>
m_GM;
73 void init(
const std::string repr);
77 const double nu_s,
const double r_s);
79 const double nu_s,
const double r_s,
80 const std::vector<int> bc);
88 void set_mode(
const std::string mode);
104 void D_ex(
Field& v,
const int ex1,
const Field& f,
const int ex2);
178 static Fopr *create_object()
183 static Fopr *create_object_with_arg(
const std::string& repr)
189 static bool register_factory()
191 bool init1 = Fopr::Factory_noarg::Register(
"WilsonGeneral/Org", create_object);
192 bool init2 = Fopr::Factory_string::Register(
"WilsonGeneral/Org", create_object_with_arg);
194 return init1 && init2;
void(Fopr_WilsonGeneral::* m_mult_dag)(Field &, const Field &)
void mult(Field &v, const Field &f)
multiplies fermion operator to a given field (2nd argument)
void proj_chiral(Field &w, const int ex1, const Field &v, const int ex2, const int ipm)
Fopr_WilsonGeneral(const Fopr_WilsonGeneral &)
void mult_undef(Field &, const Field &f)
void set_mode(const std::string mode)
setting the mode of multiplication if necessary. Default implementation here is just to avoid irrelev...
Fopr_WilsonGeneral & operator=(const Fopr_WilsonGeneral &)
int field_nvol()
returns the volume for which the fermion operator is defined.
void mult_up(const int mu, Field &w, const Field &f)
nearest neighbor hopping term: temporary entry [H.Matsufuru]
Container of Field-type object.
void init(const std::string repr)
void H(Field &w, const Field &f)
void set_config(unique_ptr< Field_G > &U)
std::string get_mode() const
only for Fopr_Overlap
Bridge::VerboseLevel m_vl
void set_parameters(const Parameters ¶ms)
Wilson-type fermion field.
void mult_dn(const int mu, Field &w, const Field &f)
static const std::string class_name
std::vector< GammaMatrix > m_GM
const Field_F mult_gm5p(const int mu, const Field_F &w)
void DDdag(Field &w, const Field &f)
double flop_count()
this returns the number of floating point operations.
int field_nex()
returns the external d.o.f. for which the fermion operator is defined.
void DdagD(Field &w, const Field &f)
void mult_gm5(Field &v, const Field &f)
gamma_5 multiplication. [31 Mar 2017 H.Matsufuru]
void crucial(const char *format,...)
void(Fopr_WilsonGeneral::* m_mult)(Field &, const Field &)
void mult_dag(Field &v, const Field &f)
hermitian conjugate of mult(Field&, const Field&).
void Ddag(Field &w, const Field &f)
void set_config(Field *U)
setting pointer to the gauge configuration.
int field_nin()
returns the on-site d.o.f. for which the fermion operator is defined.
Fopr_WilsonGeneral(std::string repr)
void D_ex(Field &v, const int ex1, const Field &f, const int ex2)
Methods to shift a field in the lexical site index.
std::vector< int > m_boundary
void D(Field &v, const Field &f)
Base class of fermion operator family.