16 #ifdef USE_FACTORY_AUTOREGISTER
18 bool init = Staple_lex::register_factory();
32 const string str_vlevel = params.
get_string(
"verbose_level");
43 std::ofstream log_file;
66 const int Ndim_spc = Ndim - 1;
73 for (
int mu = 0; mu < Ndim_spc; ++mu) {
74 int nu = (mu + 1) % Ndim_spc;
90 return plaq / Nvol / NPE / Nc / Ndim_spc;
99 const int Ndim_spc = Ndim - 1;
104 const int mu = Ndim_spc;
111 for (
int nu = 0; nu < Ndim_spc; ++nu) {
123 return plaq / Nvol / NPE / Nc / Ndim_spc;
134 for (
int nu = 0; nu < Ndim; ++nu) {
140 upper(Vud, U, mu, nu);
143 lower(Vud, U, mu, nu);
152 const int mu,
const int nu)
178 const int mu,
const int nu)
std::string m_filename_output
void set(const int jin, const int site, const int jex, double v)
void general(const char *format,...)
double plaquette(const Field_G &)
calculates plaquette value.
void mult_Field_Gdn(Field_G &W, const int ex, const Field_G &U1, const int ex1, const Field_G &U2, const int ex2)
double plaq_t(const Field_G &)
calculates temporal plaquette value.
void init(const std::string &filename)
void staple(Field_G &, const Field_G &, const int mu)
constructs staple in mu-direction (summing up nu-direction).
void lower(Field_G &, const Field_G &, const int mu, const int nu)
constructs lower staple in mu-nu plane.
static const std::string class_name
dcomplex dotc(const Field &y, const Field &x)
Bridge::VerboseLevel m_vl
void backward(Field &, const Field &, const int mu)
void upper(Field_G &, const Field_G &, const int mu, const int nu)
constructs upper staple in mu-nu plane.
void axpy(Field &y, const double a, const Field &x)
axpy(y, a, x): y := a * x + y
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::ostream & getStream()
double plaq_s(const Field_G &)
calculates spatial plaquette value.
void setpart_ex(int ex, const Field &w, int exw)
string get_string(const string &key) const
Field_G m_w
temporary fields.
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)
void set_parameters(const Parameters ¶ms)
setting parameters.