25 bool init = Smear::Factory::Register(
"HYP", create_object);
36 const string str_vlevel = params.
get_string(
"verbose_level");
41 double alpha1, alpha2, alpha3;
97 for (
int mu = 0; mu <
m_Ndim; ++mu) {
98 m_U[mu].setpart_ex(0, U, mu);
115 for (
int mu = 0; mu <
m_Ndim; ++mu) {
116 for (
int nu = 0; nu <
m_Ndim; ++nu) {
117 if (nu == mu)
continue;
119 for (
int rho = nu + 1; rho <
m_Ndim; ++rho) {
120 if (rho == mu)
continue;
122 int sig = 6 - mu - nu - rho;
138 for (
int mu = 0; mu <
m_Ndim; ++mu) {
139 for (
int nu = 0; nu <
m_Ndim; ++nu) {
140 if (nu == mu)
continue;
143 for (
int rho = 0; rho <
m_Ndim; ++rho) {
144 if ((rho != mu) && (rho != nu)) {
147 c2.addpart_ex(0, u_tmp, 0);
164 for (
int mu = 0; mu <
m_Ndim; ++mu) {
167 for (
int nu = 0; nu <
m_Ndim; ++nu) {
171 c3.addpart_ex(0, u_tmp, 0);
void scal(Field &x, const double a)
scal(x, a): x = a * x
std::vector< Field_G > m_v2
void general(const char *format,...)
int fetch_double(const string &key, double &value) const
int index_v2(int mu, int nu)
void mult_Field_Gdn(Field_G &W, const int ex, const Field_G &U1, const int ex1, const Field_G &U2, const int ex2)
HYP smearing of link variables.
void set_parameters(const Parameters ¶ms)
void addpart_ex(int ex, const Field &w, int exw)
static const std::string class_name
int index_v1(int mu, int nu, int rho)
std::vector< Field_G > m_U
void backward(Field &, const Field &, const int mu)
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 crucial(const char *format,...)
base class for projection operator into gauge group.
base class for smearing of link variables.
void smear(Field_G &Usmear, const Field_G &U)
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)
string get_string(const string &key) const
void staple(Field_G &, const Field_G &, const Field_G &, int mu, int nu)
std::vector< Field_G > m_v1
Bridge::VerboseLevel m_vl
static VerboseLevel set_verbose_level(const std::string &str)
void forward(Field &, const Field &, const int mu)
void mult_Field_Gnd(Field_G &W, const int ex, const Field_G &U1, const int ex1, const Field_G &U2, const int ex2)