Go to the documentation of this file.
13 #ifdef USE_FACTORY_AUTOREGISTER
15 bool init = Smear_HYP::register_factory();
117 double alpha1, alpha2, alpha3;
177 for (
int mu = 0; mu <
m_Ndim; ++mu) {
194 for (
int mu = 0; mu <
m_Ndim; ++mu) {
195 for (
int nu = 0; nu <
m_Ndim; ++nu) {
196 if (nu == mu)
continue;
198 for (
int rho = nu + 1; rho <
m_Ndim; ++rho) {
199 if (rho == mu)
continue;
201 int sig = 6 - mu - nu - rho;
221 for (
int mu = 0; mu <
m_Ndim; ++mu) {
222 for (
int nu = 0; nu <
m_Ndim; ++nu) {
223 if (nu == mu)
continue;
228 for (
int rho = 0; rho <
m_Ndim; ++rho) {
229 if ((rho != mu) && (rho != nu)) {
253 for (
int mu = 0; mu <
m_Ndim; ++mu) {
258 for (
int nu = 0; nu <
m_Ndim; ++nu) {
283 const int mu,
const int nu)
std::vector< Field_G > m_v1
void mult_Field_Gdn(Field_G &W, const int ex, const Field_G &U1, const int ex1, const Field_G &U2, const int ex2)
void set_string(const string &key, const string &value)
void forward(Field &, const Field &, const int mu)
void set(const int jin, const int site, const int jex, double v)
int m_Nvol
spacetime volume
void set_double(const string &key, const double value)
double m_alpha3
HYP smearing parameter (level-3)
double m_alpha2
HYP smearing parameter (level-2)
int index_v2(const int mu, int nu)
void staple(Field_G &, const Field_G &, const Field_G &, const int mu, const int nu)
void axpy(Field &y, const double a, const Field &x)
axpy(y, a, x): y := a * x + y
int m_Ndim
spacetime dimension
static const std::string class_name
void set_parameters(const Parameters ¶ms)
int index_v1(const int mu, const int nu, const int rho)
void copy(Field &y, const Field &x)
copy(y, x): y = x
void get_parameters(Parameters ¶ms) const
Bridge::VerboseLevel m_vl
std::vector< Field_G > m_U
double m_alpha1
HYP smearing parameter (level-1)
Methods to shift a field in the lexical site index.
void smear(Field_G &Usmear, const Field_G &U)
static Bridge::VerboseLevel Vlevel()
static VerboseLevel set_verbose_level(const std::string &str)
void mult_Field_Gnn(Field_G &W, const int ex, const Field_G &U1, const int ex1, const Field_G &U2, const int ex2)
void backward(Field &, const Field &, const int mu)
std::vector< Field_G > m_v2
void scal(Field &x, const double a)
scal(x, a): x = a * x
int fetch_string(const string &key, string &value) const
int fetch_double(const string &key, double &value) const
void crucial(const char *format,...)
static int get_thread_id()
returns thread id.
void general(const char *format,...)
void mult_Field_Gnd(Field_G &W, const int ex, const Field_G &U1, const int ex1, const Field_G &U2, const int ex2)
static void assert_single_thread(const std::string &class_name)
assert currently running on single thread.
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 std::string get_verbose_level(const VerboseLevel vl)