16 #ifdef USE_PARAMETERS_FACTORY
28 bool init = Smear::Factory::Register(
"APE_spatial", create_object);
42 #ifdef USE_PARAMETERS_FACTORY
57 const string str_vlevel = params.
get_string(
"verbose_level");
97 assert(U.
nvol() == Nvol);
100 assert(Usmear.
nvol() == Nvol);
103 int Ndim_spc =
m_Ndim - 1;
105 Field_G c_tmp(Nvol, 1), u_tmp(Nvol, 1), u_tmp2(Nvol, 1);
109 double plaq = staple.
plaq_s(U);
116 for (
int mu = 0; mu < Ndim_spc; ++mu) {
120 for (
int nu = 0; nu < Ndim_spc; ++nu) {
122 u_tmp2 = staple.
upper(U, mu, nu);
125 u_tmp2 = staple.
lower(U, mu, nu);
137 plaq = staple.
plaq_s(Usmear);
139 plaq = staple.
plaq_t(Usmear);
Projection * m_proj
projector to group element.
APE type smearing of spatial link variables.
void Register_string(const string &, const string &)
Field_G upper(const Field_G &, const int mu, const int nu)
constructs upper staple in mu-nu plane (wrapping void version).
void general(const char *format,...)
void smear(Field_G &Usmear, const Field_G &U)
Smearing of a given gauge field.
void addpart_ex(int ex, const Field &w, int exw)
double plaq_t(const Field_G &)
calculates temporal plaquette value.
static const std::string class_name
Parameters_Smear_APE_spatial()
void set_parameters(const Parameters ¶ms)
Setting parameters with Parameters object.
void staple(Field_G &, const Field_G &, const Field_G &, int mu, int nu)
Staple construction.
void crucial(const char *format,...)
base class for projection operator into gauge group.
double m_rho
smearing parameter
static bool Register(const std::string &realm, const creator_callback &cb)
Field_G lower(const Field_G &, const int mu, const int nu)
constructs lower staple in mu-nu plane (wrapping void version).
void Register_double(const string &, const double)
base class for smearing of link variables.
virtual void project(Field_G &v, double alpha, const Field_G &C, const Field_G &U)=0
projection V = P[alpha, C, U]
void setpart_ex(int ex, const Field &w, int exw)
int fetch_double(const string &key, double &val) const
string get_string(const string &key) const
Bridge::VerboseLevel m_vl
int m_Ndim
spacetime dimension
double plaq_s(const Field_G &)
calculates spatial plaquette value.
static VerboseLevel set_verbose_level(const std::string &str)