Go to the documentation of this file.
14 #ifndef STAPLE_INCLUDED
15 #define STAPLE_INCLUDED
71 typedef Staple *(*ProductCreator)();
76 ProductCreator p = Factory::Find(subtype);
78 return p ? (*p)() : 0;
81 #ifdef USE_FACTORY_AUTOREGISTER
83 static bool init_factory();
virtual void lower(Field_G &, const Field_G &, const int mu, const int nu)=0
constructs lower staple in mu-nu plane.
virtual void get_parameters(Parameters ¶ms) const =0
getting parameters.
virtual void set_parameters(const Parameters ¶ms)=0
setting parameters.
virtual double plaq_t(const Field_G &)=0
calculates temporal plaquette value.
virtual void upper(Field_G &, const Field_G &, const int mu, const int nu)=0
constructs upper staple in mu-nu plane.
virtual double plaq_s(const Field_G &)=0
calculates spatial plaquette value.
virtual void staple(Field_G &, const Field_G &, const int mu)=0
constructs staple in mu-direction (summing up nu-direction).
virtual double plaquette(const Field_G &)=0
calculates plaquette value.
Staple & operator=(const Staple &)
Base class for Staple construction.
std::string IdentifierType