16 #ifdef USE_FACTORY_AUTOREGISTER
18 bool init = Staple_eo::register_factory();
32 const string str_vlevel = params.
get_string(
"verbose_level");
54 const int Ndim_spc = Ndim - 1;
62 upper(staple, Ueo, 0, 1);
63 for (
int site = 0; site < Nvol; site++) {
67 upper(staple, Ueo, 1, 2);
68 for (
int site = 0; site < Nvol; site++) {
72 upper(staple, Ueo, 2, 0);
73 for (
int site = 0; site < Nvol; site++) {
79 return plaq / Nvol / NPE / Nc / Ndim_spc;
88 const int Ndim_spc = Ndim - 1;
96 for (
int nu = 0; nu < Ndim - 1; nu++) {
97 lower(staple, Ueo, 3, nu);
98 for (
int site = 0; site < Nvol; site++) {
105 return plaq / Nvol / NPE / Nc / Ndim_spc;
116 for (
int nu = 0; nu < Ndim; nu++) {
120 upper(u_tmp, Ueo, mu, nu);
123 lower(u_tmp, Ueo, mu, nu);
void backward(Field &, const Field &, const int mu)
void set(const int jin, const int site, const int jex, double v)
static const std::string class_name
void lower(Field_G &, const Field_G &, const int, const int)
constructs lower staple in mu-nu plane.
double plaq_t(const Field_G &)
calculates temporal plaquette value.
std::string m_filename_output
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 staple(Field_G &, const Field_G &, const int)
constructs staple in mu-direction (summing up nu-direction).
void convertField(Field &eo, const Field &lex)
void upper(Field_G &, const Field_G &, const int, const int)
constructs upper staple in mu-nu plane.
void set_parameters(const Parameters ¶ms)
setting parameters.
double plaquette(const Field_G &)
calculates plaquette value.
Bridge::VerboseLevel m_vl
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)
double plaq_s(const Field_G &)
calculates spatial plaquette value.
void forward(Field &, const Field &, const int mu)
Mat_SU_N mat_dag(const int site, const int mn=0) const
static int reduce_sum(int count, double *recv_buf, double *send_buf, int pattern=0)
make a global sum of an array of double over the communicator. pattern specifies the dimensions to be...
void setpart_ex(int ex, const Field &w, int exw)
string get_string(const string &key) const
Mat_SU_N mat(const int site, const int mn=0) const
static VerboseLevel set_verbose_level(const std::string &str)
double ReTr(const Mat_SU_N &m)
void mult_Field_Gnd(Field_G &W, const int ex, const Field_G &U1, const int ex1, const Field_G &U2, const int ex2)