Go to the documentation of this file.
14 #ifndef FOPR_SMEARED_INCLUDED
15 #define FOPR_SMEARED_INCLUDED
123 static bool register_factory()
126 init &= Fopr::Factory_fopr_director::Register(
"Smeared", create_object);
int field_nvol()
returns the volume of the fermion field.
void set_parameters(const Parameters &)
sets parameters by a Parameter object: to be implemented in a subclass.
static const std::string class_name
void mult_dag(Field &v, const Field &f)
multiply smeared fermion operator
Common parameter class: provides parameters as singleton.
virtual void mult(AFIELD &, const AFIELD &)
multiplies fermion operator to a given field.
void mult_dn(const int mu, Field &v, const Field &w)
downward nearest neighbor hopping term.
virtual int field_nex()=0
returns the external degree of freedom of the fermion field.
double flop_count()
this returns the number of floating point operations.
Fopr_Smeared(Fopr *fopr, Director_Smear *dr_smear, const Parameters ¶ms)
int field_nin()
returns the on-site degree of freedom of the fermion field.
virtual void set_mode(std::string mode)
setting the mode of multiplication if necessary. Default implementation here is just to avoid irrelev...
Fopr_Smeared(Fopr *fopr, Director_Smear *dr_smear)
constructor requires Fopr and Director_Smear objects
virtual std::string get_mode() const
returns the current mult mode.
virtual void mult_dag(AFIELD &, const AFIELD &)
hermitian conjugate of mult.
void mult_up(const int mu, Field &v, const Field &w)
upward nearest neighbor hopping term.
virtual int field_nvol()=0
returns the volume of the fermion field.
std::string get_mode() const
smeared fermion operator.
Manager of smeared configurations.
void set_config(Field *U)
set pointer to original thin link variable
virtual void mult_dn(int mu, AFIELD &, const AFIELD &)
downward nearest neighbor hopping term.
void set_mode(const std::string mode)
set the mode of fermion operator
Manager of commonly used data object in HMC.
Container of Field-type object.
virtual int field_nin()=0
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(Field &v, const Field &f)
multiply smeared fermion operator
void get_parameters(Parameters &) const
gets parameters by a Parameter object: to be implemented in a subclass.
Director_Smear * m_dr_smear
virtual void mult_up(int mu, AFIELD &, const AFIELD &)
upward nearest neighbor hopping term.
Bridge::VerboseLevel m_vl