Go to the documentation of this file.
14 #ifndef AFOPR_CLOVER_CHEMICAL_INCLUDED
15 #define AFOPR_CLOVER_CHEMICAL_INCLUDED
34 template<
typename AFIELD>
85 void set_mode(
const std::string mode);
112 {
return m_fopr_w->needs_convert(); }
130 void init(
const std::string repr);
140 const std::vector<int> bc);
147 static AFopr<AFIELD> *create_object_with_repr(
const std::string& repr)
154 static bool register_factory()
160 create_object_with_repr);
162 create_object_with_params);
void init(const std::string repr)
void D(AFIELD &, const AFIELD &)
real_t m_cSW
clover coefficient
AFopr_Clover_Chemical(const Parameters ¶ms)
void Dminmu(AFIELD &, const AFIELD &)
real_t m_kappa
hopping parameter
double flop_count()
this returns the number of floating point operations.
DEPRECATED AFopr_Clover_Chemical()
void get_parameters(Parameters ¶ms) const
gets parameters by a Parameter object: to be implemented in a subclass.
bool m_is_initial_step
to avoid redundant setup
Bridge::VerboseLevel m_vl
verbose level
std::string m_repr
gamma-matrix representation
virtual bool needs_convert()
returns true if additional field conversion is needed.
AFopr< AFIELD > * m_fopr_csw
std::string m_kernel_type
kernel type
virtual void reverse(Field &v, const AFIELD &w)
reverses to a Field object from other format if necessary.
AFopr< AFIELD > * m_fopr_w
static const std::string class_name
void DdagD(AFIELD &, const AFIELD &)
int field_nvol()
returns the volume of the fermion field.
void set_parameters_impl(const real_t kappa, const real_t cSW, const real_t mu, const std::vector< int > bc)
sets parameters given as values: private for composite operator.
AFIELD m_v2
working field.
int field_nex()
returns the external degree of freedom of the fermion field.
void set_config(Field *U)
sets the gauge configuration.
void Ddag(AFIELD &, const AFIELD &)
real_t m_mu
isospin chemical potential
void H(AFIELD &, const AFIELD &)
void Hdag(AFIELD &, const AFIELD &)
std::vector< int > m_boundary
boundary conditions
int field_nin()
returns the on-site degree of freedom of the fermion field.
void set_mode(const std::string mode)
setting the mode of multiplication if necessary. Default implementation here is just to avoid irrelev...
void set_parameters(const Parameters ¶ms)
sets parameters by a Parameter object: to be implemented in a subclass.
void mult_gm5(AFIELD &, const AFIELD &)
multiplies gamma_5 matrix.
void mult_gm5p(const int mu, AFIELD &v, const AFIELD &w)
virtual void convert(AFIELD &v, const Field &w)
converts a Field object into other format if necessary.
DEPRECATED AFopr_Clover_Chemical(const std::string repr)
Container of Field-type object.
void mult_dn(const int mu, AFIELD &v, const AFIELD &w)
downward nearest neighbor hopping term.
std::string get_mode() const
returns the current mult mode.
void mult_up(const int mu, AFIELD &v, const AFIELD &w)
upward nearest neighbor hopping term.
void mult(AFIELD &v, const AFIELD &w)
multiplies fermion operator to a given field.
void mult_dag(AFIELD &v, const AFIELD &w)
hermitian conjugate of mult.
Clover fermion operator with chemical potential.