16 #ifdef USE_FACTORY_AUTOREGISTER
18 bool init = Force_G_Plaq::register_factory();
27 const string str_vlevel = params.
get_string(
"verbose_level");
69 assert(
m_U->
nin() == Nc * Nc * 2);
71 assert(
m_U->
nex() == Ndim);
73 assert(force.
nin() == Nc * Nc * 2);
74 assert(force.
nvol() == Nvol);
75 assert(force.
nex() == Ndim);
77 for (
int mu = 0; mu < Ndim; ++mu) {
89 for (
int site = 0; site < Nvol; ++site) {
101 double Fave, Fmax, Fdev;
102 force.
stat(Fave, Fmax, Fdev);
void set_parameters(const Parameters ¶ms)
void general(const char *format,...)
Container of Field-type object.
int fetch_double(const string &key, double &value) const
Mat_SU_N & at()
antihermitian traceless
void staple(Field_G &, const Field_G &, const int mu)
constructs staple in mu-direction (summing up nu-direction).
Bridge::VerboseLevel m_vl
static const std::string class_name
void axpy(Field &y, const double a, const Field &x)
axpy(y, a, x): y := a * x + y
void crucial(const char *format,...)
void stat(double &Fave, double &Fmax, double &Fdev) const
determines the statistics of the field. average, maximum value, and deviation is determined over glob...
void force_core(Field &force)
Mat_SU_N mat_dag(const int site, const int mn=0) const
string get_string(const string &key) const
void set_mat(const int site, const int mn, const Mat_SU_N &U)
Mat_SU_N mat(const int site, const int mn=0) const
static VerboseLevel set_verbose_level(const std::string &str)