Go to the documentation of this file.
16 #ifdef USE_FACTORY_AUTOREGISTER
18 bool init = Force_G_Rectangle_SF::register_factory();
33 double beta, c_plaq, c_rect;
34 double ct0, ct1, ct2, ctr0, ctr1, ctr2;
35 std::vector<double> phi, phipr;
59 const double gg = 6.0 / beta;
61 const double ct = ct0 + ct1 * gg + ct2 * gg * gg;
62 const double ctr = ctr0 + ctr1 * gg + ctr2 * gg * gg;
109 double *phi,
double *phipr,
const double ct,
const double ctr)
140 for (
int i = 0; i < 3; ++i) {
150 double c0r = cos(phi[0] / Lx);
151 double c0i = sin(phi[0] / Lx);
152 double c1r = cos(phi[1] / Lx);
153 double c1i = sin(phi[1] / Lx);
154 double c2r = cos(phi[2] / Lx);
155 double c2i = sin(phi[2] / Lx);
161 c0r = cos(phipr[0] / Lx);
162 c0i = sin(phipr[0] / Lx);
163 c1r = cos(phipr[1] / Lx);
164 c1i = sin(phipr[1] / Lx);
165 c2r = cos(phipr[2] / Lx);
166 c2i = sin(phipr[2] / Lx);
242 assert(
m_U->
nex() == Ndim);
245 assert(force.
nvol() == Nvol);
246 assert(force.
nex() == Ndim);
251 for (
int mu = 0; mu < Ndim; ++mu) {
255 for (
int nu = 0; nu < Ndim; ++nu) {
256 if (nu == mu)
continue;
282 if (IPE3 == NPEt - 1) {
310 if ((IPE3 == NPEt - 1) && (nu == 3)) {
331 if ((IPE3 == NPEt - 1) && (mu == 3)) {
349 if ((IPE3 == NPEt - 1) && (nu == 3)) {
378 if ((IPE3 == NPEt - 1) && (mu == 3)) {
410 double Fave, Fmax, Fdev;
411 force.
stat(Fave, Fmax, Fdev);
void set_boundary_wkpr(Field_G &u, const Mat_SU_N &wkpr)
void get_parameters(Parameters ¶ms) const
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 set_string(const string &key, const string &value)
void set_parameters(const Parameters ¶ms)
void forward(Field &, const Field &, const int mu)
std::vector< double > m_phipr
Bridge::VerboseLevel m_vl
void set(const int jin, const int site, const int jex, double v)
void set_double(const string &key, const double value)
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 set_boundary_wk(Field_G &u, const Mat_SU_N &wk)
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)
void upper(Field_G &, const Field_G &, const int, const int)
void at_Field_G(Field_G &W, const int ex)
void copy(Field &y, const Field &x)
copy(y, x): y = x
void set(int c, const double &re, const double &im)
void mult_ct_boundary(Field_G &u, const int t, const double ct)
void set_boundary_zero(Field_G &u)
double m_ctr
SF boundary improvement coefficient for the rectangle action.
double m_ct
SF boundary improvement coefficient for the plaquatte action.
void lower(Field_G &, const Field_G &, const int, const int)
void set_parameters(const Parameters ¶ms)
static VerboseLevel set_verbose_level(const std::string &str)
void mult_Field_Gnn(Field_G &W, const int ex, const Field_G &U1, const int ex1, const Field_G &U2, const int ex2)
void backward(Field &, const Field &, const int mu)
static const std::string class_name
static int ipe(const int dir)
logical coordinate of current proc.
int fetch_string(const string &key, string &value) const
int fetch_double(const string &key, double &value) const
void crucial(const char *format,...)
Container of Field-type object.
Mat_SU_N m_wk
SF boundary condition.
int fetch_double_vector(const string &key, vector< double > &value) const
void general(const char *format,...)
void mult_Field_Gnd(Field_G &W, const int ex, const Field_G &U1, const int ex1, const Field_G &U2, const int ex2)
std::vector< double > m_phi
static std::string get_verbose_level(const VerboseLevel vl)