Go to the documentation of this file.
14 #ifndef AFOPR_WILSON_TWISTEDMASS_INCLUDED
15 #define AFOPR_WILSON_TWISTEDMASS_INCLUDED
37 template<
typename AFIELD>
83 void init(
const std::string& repr);
92 const std::vector<int> bc);
117 {
return m_fopr_w->needs_convert(); }
139 static AFopr<AFIELD> *create_object_with_repr(
const std::string& repr)
146 static bool register_factory()
152 create_object_with_repr);
154 create_object_with_params);
const Field_G * m_U
gauge configuration (pointer)
void Ddag(AFIELD &, const AFIELD &)
Common parameter class: provides parameters as singleton.
virtual bool needs_convert()
returns true if additional field conversion is needed.
double flop_count()
this returns the number of floating point operations.
static const std::string class_name
std::string m_repr
gamma matrix representation
std::string m_kernel_type
kernel type
std::string get_mode() const
returns the current mult mode.
void mult_dag(AFIELD &v, const AFIELD &w)
hermitian conjugate of mult.
std::vector< int > m_boundary
boundary condition
virtual void convert(AFIELD &v, const Field &w)
converts a Field object into other format if necessary.
Twisted-mass Wilson fermion operator.
void mult_gm5p(const int mu, AFIELD &v, const AFIELD &w)
virtual void reverse(Field &v, const AFIELD &w)
reverses to a Field object from other format if necessary.
~AFopr_Wilson_TwistedMass()
real_t m_tw_mass
twisted mass
std::string m_mode
mode of multiplication
real_t m_kappa
hopping parameter
void H(AFIELD &, const AFIELD &)
DEPRECATED AFopr_Wilson_TwistedMass(const std::string repr)
void set_parameters(const Parameters ¶ms)
sets parameters by a Parameter object: to be implemented in a subclass.
void DdagD(AFIELD &, const AFIELD &)
void mult(AFIELD &v, const AFIELD &w)
multiplies fermion operator to a given field.
int field_nin()
returns the on-site degree of freedom of the fermion field.
void D(AFIELD &, const AFIELD &)
void init(const std::string &repr)
DEPRECATED AFopr_Wilson_TwistedMass()
bool m_is_initial_step
to avoid redundant setup
int field_nex()
returns the external degree of freedom of the fermion field.
int field_nvol()
returns the volume of the fermion field.
Container of Field-type object.
AFopr< AFIELD > * m_fopr_w
kernel fermion operator
void set_config(Field *U)
sets the gauge configuration.
AFopr_Wilson_TwistedMass(const Parameters ¶ms)
void get_parameters(Parameters ¶ms) const
gets parameters by a Parameter object: to be implemented in a subclass.
void Hdag(AFIELD &, const AFIELD &)
void mult_gm5(AFIELD &v, const AFIELD &w)
multiplies gamma_5 matrix.
Bridge::VerboseLevel m_vl
verbose level
void set_mode(std::string mode)
setting the mode of multiplication if necessary. Default implementation here is just to avoid irrelev...