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