16 #ifdef USE_FACTORY_AUTOREGISTER
18 bool init = Smear_APE_SF::register_factory();
27 const string str_vlevel = params.
get_string(
"verbose_level");
33 std::vector<double> phi, phipr;
51 double *phi,
double *phipr)
70 for (
int mu = 0; mu <
m_Ndim; ++mu) {
71 for (
int nu = 0; nu <
m_Ndim; ++nu) {
76 for (
int i = 0; i < 3; ++i) {
88 for (
int mu = 0; mu <
m_Ndim; ++mu) {
102 assert(rho.size() == m_Ndim *
m_Ndim);
106 for (
int mu = 0; mu <
m_Ndim; ++mu) {
107 for (
int nu = 0; nu <
m_Ndim; ++nu) {
112 for (
int i = 0; i < 3; ++i) {
124 assert(U.
nvol() == Nvol);
126 assert(Usmear.
nvol() == Nvol);
131 for (
int mu = 0; mu <
m_Ndim; ++mu) {
140 for (
int nu = 0; nu <
m_Ndim; ++nu) {
145 double rho =
m_rho[mu + m_Ndim * nu];
146 staple.
upper(u_tmp2, U, mu, nu);
149 staple.
lower(u_tmp2, U, mu, nu);
154 double rho0 =
m_rho[mu + m_Ndim * mu];
SU(N) gauge field class in which a few functions are added for the SF.
int fetch_double_vector(const string &key, vector< double > &value) const
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
double m_phi[3]
SF boundary condition at t=0.
static const std::string class_name
void addpart_ex(int ex, const Field &w, int exw)
void set_parameters(const Parameters ¶ms)
void upper(Field_G_SF &, const Field_G &, const int, const int)
virtual void project(Field_G &v, const double alpha, const Field_G &C, const Field_G &U)=0
projection V = P[alpha, C, U]
void set_boundary_wk(const Mat_SU_N &U)
Set the boundary spatial link at t=0 for SF bc.
void crucial(const char *format,...)
void set_parameters(const Parameters ¶ms)
double m_phipr[3]
SF boundary condition at t=Nt.
std::valarray< double > m_rho
void lower(Field_G_SF &, const Field_G &, const int, const int)
void setpart_ex(int ex, const Field &w, int exw)
string get_string(const string &key) const
Bridge::VerboseLevel m_vl
void smear(Field_G &Usmear, const Field_G &U)
static VerboseLevel set_verbose_level(const std::string &str)