16 #ifdef USE_FACTORY_AUTOREGISTER
18 bool init = Action_G_Rectangle::register_factory();
27 const string str_vlevel = params.
get_string(
"verbose_level");
32 double beta, c_plaq, c_rect;
54 const double c_plaq,
const double c_rect)
77 const double H_U =
calcH();
88 const int Ndim2 = Ndim * (Ndim - 1) / 2;
101 for (
int mu = 0; mu < Ndim; ++mu) {
102 for (
int nu = mu + 1; nu < Ndim; ++nu) {
107 for (
int site = 0; site < Nvol; ++site) {
138 for (
int site = 0; site < Nvol; ++site) {
153 for (
int site = 0; site < Nvol; ++site) {
163 const double plaq = plaqF / Nc;
164 vout.
general(
m_vl,
" Plaquette = %18.8f\n", plaq / Nvol / NPE / Ndim2);
double langevin(RandomNumbers *)
Langevis step.
static double epsilon_criterion()
void set(const int jin, const int site, const int jex, double v)
void general(const char *format,...)
Container of Field-type object.
int fetch_double(const string &key, double &value) const
void copy(Field &y, const Field &x)
copy(y, x): y = x
virtual void force_core(Field &)=0
double calcH()
calculate Hamiltonian of this action term.
static const std::string class_name
void backward(Field &, const Field &, const int mu)
void upper(Field_G &, const Field_G &, const int mu, const int nu)
constructs upper staple in mu-nu plane.
void set_parameters(const Parameters ¶ms)
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 crucial(const char *format,...)
Bridge::VerboseLevel m_vl
Base class of random number generators.
Mat_SU_N mat_dag(const int site, const int mn=0) const
static int reduce_sum(int count, double *recv_buf, double *send_buf, int pattern=0)
make a global sum of an array of double over the communicator. pattern specifies the dimensions to be...
virtual void set_parameters(const Parameters &)=0
string get_string(const string &key) const
Mat_SU_N mat(const int site, const int mn=0) const
void force(Field &)
returns force for molcular dynamical update of conjugate momenta.
static VerboseLevel set_verbose_level(const std::string &str)
double ReTr(const Mat_SU_N &m)
void mult_Field_Gnd(Field_G &W, const int ex, const Field_G &U1, const int ex1, const Field_G &U2, const int ex2)