16 #ifdef USE_FACTORY_AUTOREGISTER
18 bool init = Smear_APE::register_factory();
27 const string str_vlevel = params.
get_string(
"verbose_level");
58 for (
int mu = 0; mu <
m_Ndim; ++mu) {
59 for (
int nu = 0; nu <
m_Ndim; ++nu) {
71 for (
int mu = 0; mu <
m_Ndim; ++mu) {
77 assert(rho.size() == m_Ndim *
m_Ndim);
81 for (
int mu = 0; mu <
m_Ndim; ++mu) {
82 for (
int nu = 0; nu <
m_Ndim; ++nu) {
94 assert(U.
nvol() == Nvol);
96 assert(Usmear.
nvol() == Nvol);
101 for (
int mu = 0; mu <
m_Ndim; ++mu) {
110 for (
int nu = 0; nu <
m_Ndim; ++nu) {
114 double rho =
m_rho[mu + m_Ndim * nu];
115 staple.
upper(u_tmp2, U, mu, nu);
118 staple.
lower(u_tmp2, U, mu, nu);
123 double rho0 =
m_rho[mu + m_Ndim * mu];
void set(const int jin, const int site, const int jex, double v)
void general(const char *format,...)
int fetch_double(const string &key, double &value) const
void lower(Field_G &, const Field_G &, const int mu, const int nu)
constructs lower staple in mu-nu plane.
void addpart_ex(int ex, const Field &w, int exw)
void set_parameters(const Parameters ¶ms)
Setting parameters with Parameters object.
void smear(Field_G &Usmear, const Field_G &U)
Smearing of a given gauge field.
Projection * m_proj
projector to group element.
virtual void project(Field_G &v, const double alpha, const Field_G &C, const Field_G &U)=0
projection V = P[alpha, C, U]
static const std::string class_name
void upper(Field_G &, const Field_G &, const int mu, const int nu)
constructs upper staple in mu-nu plane.
void crucial(const char *format,...)
std::valarray< double > m_rho
smearing parameter
int m_Ndim
spacetime dimension
void setpart_ex(int ex, const Field &w, int exw)
string get_string(const string &key) const
Bridge::VerboseLevel m_vl
static VerboseLevel set_verbose_level(const std::string &str)