25 bool init = Staple::Factory::Register(
"Lexical", create_object);
40 const string str_vlevel = params.
get_string(
"verbose_level");
51 std::ofstream log_file;
76 int Ndim_spc = Ndim - 1;
82 for (
int mu = 0; mu < Ndim_spc; ++mu) {
83 int nu = (mu + 1) % Ndim_spc;
98 return plaq / (Lvol * Nc * Ndim_spc);
108 int Ndim_spc = Ndim - 1;
118 for (
int nu = 0; nu < Ndim_spc; ++nu) {
130 return plaq / (Lvol * Nc * Ndim_spc);
142 for (
int nu = 0; nu < Ndim; ++nu) {
146 upper(Vud, U, mu, nu);
148 lower(Vud, U, mu, nu);
157 const int mu,
const int nu)
181 const int mu,
const int nu)
std::string m_filename_output
void set(const int jin, const int site, const int jex, double v)
void general(const char *format,...)
double plaquette(const Field_G &)
calculates plaquette value.
void mult_Field_Gdn(Field_G &W, const int ex, const Field_G &U1, const int ex1, const Field_G &U2, const int ex2)
double plaq_t(const Field_G &)
calculates temporal plaquette value.
void init(const std::string &filename)
void staple(Field_G &, const Field_G &, const int mu)
constructs staple in mu-direction (summing up nu-direction).
void lower(Field_G &, const Field_G &, const int mu, const int nu)
constructs lower staple in mu-nu plane.
static const std::string class_name
dcomplex dotc(const Field &y, const Field &x)
Bridge::VerboseLevel m_vl
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 axpy(Field &y, const double a, const Field &x)
axpy(y, a, x): y := a * x + y
void mult_Field_Gnn(Field_G &W, const int ex, const Field_G &U1, const int ex1, const Field_G &U2, const int ex2)
std::ostream & getStream()
double plaq_s(const Field_G &)
calculates spatial plaquette value.
Base class for Staple construction.
void setpart_ex(int ex, const Field &w, int exw)
string get_string(const string &key) const
Field_G m_w
temporary fields.
static VerboseLevel set_verbose_level(const std::string &str)
void forward(Field &, const Field &, const int mu)
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)
setting parameters.