Go to the documentation of this file.
16 #ifdef USE_FACTORY_AUTOREGISTER
18 bool init = Action_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;
112 double *phi,
double *phipr,
113 const double ct,
const double ctr)
144 for (
int i = 0; i < 3; ++i) {
154 double c0r = cos(phi[0] / Lx);
155 double c0i = sin(phi[0] / Lx);
156 double c1r = cos(phi[1] / Lx);
157 double c1i = sin(phi[1] / Lx);
158 double c2r = cos(phi[2] / Lx);
159 double c2i = sin(phi[2] / Lx);
165 c0r = cos(phipr[0] / Lx);
166 c0i = sin(phipr[0] / Lx);
167 c1r = cos(phipr[1] / Lx);
168 c1i = sin(phipr[1] / Lx);
169 c2r = cos(phipr[2] / Lx);
170 c2i = sin(phipr[2] / Lx);
181 const double H_U =
calcH();
243 for (
int mu = 0; mu < Ndim; ++mu) {
244 for (
int nu = mu + 1; nu < Ndim; ++nu) {
261 for (
int site = 0; site < Nvol; ++site) {
294 for (
int site = 0; site < Nvol; ++site) {
309 for (
int site = 0; site < Nvol; ++site) {
double m_ct
SF boundary improvement coefficient for the plaquatte action.
void set_boundary_wkpr(Field_G &u, const Mat_SU_N &wkpr)
void setpart_ex(int ex, const Field &w, int exw)
void set_string(const string &key, const string &value)
void set_parameters(const Parameters ¶ms)
Mat_SU_N mat_dag(const int site, const int mn=0) const
virtual void force_core(Field &)=0
void set_double(const string &key, const double value)
Base class of random number generators.
void set_boundary_wk(Field_G &u, const Mat_SU_N &wk)
Mat_SU_N m_wk
SF boundary condition.
void set_double_vector(const string &key, const vector< double > &value)
void upper(Field_G &, const Field_G &, const int, const int)
virtual void set_parameters(const Parameters &)=0
static const std::string class_name
void set(int c, const double &re, const double &im)
void mult_ct_boundary(Field_G &u, const int t, const double ct)
static int reduce_sum(int count, dcomplex *recv_buf, dcomplex *send_buf, int pattern=0)
make a global sum of an array of dcomplex over the communicator. pattern specifies the dimensions to ...
std::vector< double > m_phi
double m_ctr
SF boundary improvement coefficient for the rectangle action.
double langevin(RandomNumbers *)
Langevis step.
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)
Bridge::VerboseLevel m_vl
void backward(Field &, const Field &, const int mu)
std::vector< double > m_phipr
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,...)
double ReTr(const Mat_SU_N &m)
Container of Field-type object.
Mat_SU_N mat(const int site, const int mn=0) const
void get_parameters(Parameters ¶ms) const
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)
void set_parameters(const Parameters ¶ms)
static std::string get_verbose_level(const VerboseLevel vl)