16 #ifdef USE_FACTORY_AUTOREGISTER
18 bool init = Force_G_Plaq_SF::register_factory();
27 const string str_vlevel = params.
get_string(
"verbose_level");
32 double beta, ct0, ct1, ct2;
33 std::vector<double> phi, phipr;
49 const double gg = 6.0 / beta;
50 const double ct = ct0 + ct1 * gg + ct2 * gg * gg;
67 double *phi,
double *phipr,
const double ct)
110 const int Nin =
m_U->
nin();
112 const int Nex =
m_U->
nex();
115 assert(force.
nin() == Nin);
116 assert(force.
nvol() == Nvol);
117 assert(force.
nex() == Nex);
119 for (
int mu = 0; mu < Nex; ++mu) {
125 for (
int site = 0; site < Nvol; ++site) {
134 double Fave, Fmax, Fdev;
135 force.
stat(Fave, Fmax, Fdev);
157 for (
int t = 0; t < Nt; t++) {
158 for (
int x = 0; x < Nx; x++) {
159 for (
int y = 0; y < Ny; y++) {
160 for (
int z = 0; z < Nz; z++) {
162 int ix = index.
site(x, y, z, t);
164 for (
int mu = 0; mu < 4; mu++) {
166 Tmp = U->
mat(ix, mu);
168 for (
int c = 0; c < Nc * Nc; ++c) {
170 x, y, z, t, mu, c, Tmp.
r(c), Tmp.
i(c));
int fetch_double_vector(const string &key, vector< double > &value) const
int site(const int &x, const int &y, const int &z, const int &t) const
void general(const char *format,...)
Container of Field-type object.
double * m_phi
SF boundary condition at t=0.
int fetch_double(const string &key, double &value) const
Mat_SU_N & at()
antihermitian traceless
void set_parameters(const Parameters ¶ms)
Bridge::VerboseLevel m_vl
void set_parameters(const Parameters ¶ms)
static const std::string class_name
void print_force(const Field_G *)
Print out the gauge force for the boundary spatial links (for debugging).
void axpy(Field &y, const double a, const Field &x)
axpy(y, a, x): y := a * x + y
void crucial(const char *format,...)
double * m_phipr
SF boundary condition at t=Nt.
void stat(double &Fave, double &Fmax, double &Fdev) const
determines the statistics of the field. average, maximum value, and deviation is determined over glob...
Mat_SU_N mat_dag(const int site, const int mn=0) const
void staple_ct(Field_G &, const Field_G &, const int, const double ct)
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
double m_ct
SF boundary improvement coefficient for the plaquatte force.
static VerboseLevel set_verbose_level(const std::string &str)