26 bool init = Smear::Factory::Register(
"HYP_SF", create_object);
37 const string str_vlevel = params.
get_string(
"verbose_level");
42 double alpha1, alpha2, alpha3;
43 std::vector<double> phi, phipr;
63 double *phi,
double *phipr)
113 for (
int mu = 0; mu <
m_Ndim; ++mu) {
114 m_U[mu].setpart_ex(0, U, mu);
132 for (
int mu = 0; mu <
m_Ndim; ++mu) {
133 for (
int nu = 0; nu <
m_Ndim; ++nu) {
134 if (nu == mu)
continue;
136 for (
int rho = nu + 1; rho <
m_Ndim; ++rho) {
137 if (rho == mu)
continue;
138 int sig = 6 - mu - nu - rho;
156 for (
int mu = 0; mu <
m_Ndim; ++mu) {
157 for (
int nu = 0; nu <
m_Ndim; ++nu) {
158 if (nu == mu)
continue;
161 for (
int rho = 0; rho <
m_Ndim; ++rho) {
162 if ((rho != mu) && (rho != nu)) {
165 c2.addpart_ex(0, u_tmp, 0);
184 for (
int mu = 0; mu <
m_Ndim; ++mu) {
187 for (
int nu = 0; nu <
m_Ndim; ++nu) {
191 c3.addpart_ex(0, u_tmp, 0);
void scal(Field &x, const double a)
scal(x, a): x = a * x
void staple(Field_G &, const Field_G &, const Field_G &, int mu, int nu)
void set_boundary_wkpr(const Mat_SU_N &U)
Set the boundary spatial link at t=Nt-1 for SF bc.
int index_v2(int mu, int nu)
int fetch_double_vector(const string &key, vector< double > &value) const
int index_v1(int mu, int nu, int rho)
void general(const char *format,...)
int fetch_double(const string &key, double &value) const
void smear(Field_G &Usmear, const Field_G &U)
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 addpart_ex(int ex, const Field &w, int exw)
void set_parameters(const Parameters ¶ms)
std::vector< Field_G > m_v1
void set_parameters(const std::vector< double > &phi, const std::vector< double > &phipr)
Set the parameter by giving vector objects.
void set_boundary_wk(const Mat_SU_N &U)
Set the boundary spatial link at t=0 for SF bc.
void backward(Field &, const Field &, const int mu)
HYP smearing of link variables with SF BC.
void mult_Field_Gnn(Field_G &W, const int ex, const Field_G &U1, const int ex1, const Field_G &U2, const int ex2)
std::vector< Field_G > m_U
void crucial(const char *format,...)
base class for projection operator into gauge group.
static const std::string class_name
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)
string get_string(const string &key) const
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)
std::vector< Field_G > m_v2