Go to the documentation of this file.
14 #ifndef AFOPR_SMEARED_INCLUDED
15 #define AFOPR_SMEARED_INCLUDED
40 template<
typename AFIELD>
76 {
m_fopr->mult_dag(v, f); }
80 {
m_fopr->mult(v, f, mode); }
84 {
m_fopr->mult_dag(v, f, mode); }
88 {
m_fopr->mult_gm5(v, f); }
92 {
m_fopr->set_mode(mode); }
96 {
return m_fopr->needs_convert(); }
100 {
m_fopr->convert(v, w); }
104 {
m_fopr->reverse(v, w); }
107 {
return m_fopr->get_mode(); }
110 {
m_fopr->mult_up(mu, v, w); }
113 {
m_fopr->mult_dn(mu, v, w); }
135 static bool register_factory()
void mult(AFIELD &v, const AFIELD &f)
multiply smeared fermion operator
void mult_gm5(AFIELD &v, const AFIELD &f)
multiply gamma_5 matrix.
Common parameter class: provides parameters as singleton.
double flop_count()
returns floating operation counts.
std::string get_mode() const
returns the current mult mode.
AFopr_Smeared(AFopr< AFIELD > *fopr, Director_Smear *dr_smear)
constructor requires Fopr and Director_Smear objects
void set_parameters(const Parameters &)
sets parameters by a Parameter object: to be implemented in a subclass.
void mult_dag(AFIELD &v, const AFIELD &f, std::string mode)
multiply smeared fermion operator
int field_nvol()
returns the volume of the fermion field.
void mult(AFIELD &v, const AFIELD &f, std::string mode)
multiply smeared fermion operator
void convert(AFIELD &v, const Field &w)
convert of spinor field.
void reverse(Field &v, const AFIELD &w)
reverse of spinor field.
AFopr_Smeared(AFopr< AFIELD > *fopr, Director_Smear *dr_smear, const Parameters ¶ms)
static const std::string class_name
smeared fermion operator: alternative version.
void mult_up(const int mu, AFIELD &v, const AFIELD &w)
upward nearest neighbor hopping term.
void get_parameters(Parameters &) const
gets parameters by a Parameter object: to be implemented in a subclass.
Manager of smeared configurations.
Director_Smear * m_dr_smear
int field_nin()
returns the on-site degree of freedom of the fermion field.
int field_nex()
returns the external degree of freedom of the fermion field.
void mult_dag(AFIELD &v, const AFIELD &f)
multiply smeared fermion operator
void set_mode(const std::string mode)
set the mode of fermion operator.
Bridge::VerboseLevel m_vl
Manager of commonly used data object in HMC.
bool needs_convert()
requirement of spinor field conversion.
Container of Field-type object.
void mult_dn(const int mu, AFIELD &v, const AFIELD &w)
downward nearest neighbor hopping term.
void set_config(Field *U)
set pointer to original thin link variable