Go to the documentation of this file.
16 #ifdef USE_FACTORY_AUTOREGISTER
18 bool init = Force_G_Plaq_SF::register_factory();
33 double beta, ct0, ct1, ct2;
34 std::vector<double> phi, phipr;
50 const double gg = 6.0 / beta;
51 const double ct = ct0 + ct1 * gg + ct2 * gg * gg;
84 double *phi,
double *phipr,
const double ct)
109 for (
int i = 0; i < 3; ++i) {
133 const int Nin =
m_U->
nin();
135 const int Nex =
m_U->
nex();
138 assert(force.
nin() == Nin);
139 assert(force.
nvol() == Nvol);
140 assert(force.
nex() == Nex);
142 for (
int mu = 0; mu < Nex; ++mu) {
148 for (
int site = 0; site < Nvol; ++site) {
157 double Fave, Fmax, Fdev;
158 force.
stat(Fave, Fmax, Fdev);
180 for (
int t = 0; t < Nt; t++) {
181 for (
int x = 0; x < Nx; x++) {
182 for (
int y = 0; y < Ny; y++) {
183 for (
int z = 0; z < Nz; z++) {
185 int ix = index.
site(x, y, z, t);
187 for (
int mu = 0; mu < 4; mu++) {
189 Tmp = U->
mat(ix, mu);
191 for (
int c = 0; c < Nc * Nc; ++c) {
193 x, y, z, t, mu, c, Tmp.
r(c), Tmp.
i(c));
void set_string(const string &key, const string &value)
void set_parameters(const Parameters ¶ms)
void staple_ct(Field_G &, const Field_G &, const int, const double ct)
Mat_SU_N mat_dag(const int site, const int mn=0) const
void set_double(const string &key, const double value)
void print_force(const Field_G *)
Print out the gauge force for the boundary spatial links (for debugging).
void set_mat(const int site, const int mn, const Mat_SU_N &U)
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 axpy(Field &y, const double a, const Field &x)
axpy(y, a, x): y := a * x + y
void set_double_vector(const string &key, const vector< double > &value)
Bridge::VerboseLevel m_vl
static const std::string class_name
std::vector< double > m_phipr
SF boundary condition at t=Nt.
Mat_SU_N & at()
antihermitian traceless
int site(const int &x, const int &y, const int &z, const int &t) const
void set_parameters(const Parameters ¶ms)
static VerboseLevel set_verbose_level(const std::string &str)
void get_parameters(Parameters ¶ms) const
std::vector< double > m_phi
SF boundary condition at t=0.
int fetch_string(const string &key, string &value) const
int fetch_double(const string &key, double &value) const
double m_ct
SF boundary improvement coefficient for the plaquatte force.
void crucial(const char *format,...)
Container of Field-type object.
Mat_SU_N mat(const int site, const int mn=0) const
int fetch_double_vector(const string &key, vector< double > &value) const
void general(const char *format,...)
static std::string get_verbose_level(const VerboseLevel vl)