24 const std::string str_vlevel = params.
get_string(
"verbose_level");
29 double kappa_s, kappa_t, cSW_s, cSW_t;
33 err += params.
fetch_double(
"hopping_parameter_spatial", kappa_s);
34 err += params.
fetch_double(
"hopping_parameter_temporal", kappa_t);
35 err += params.
fetch_double(
"clover_coefficient_spatial", cSW_s);
36 err += params.
fetch_double(
"clover_coefficient_temporal", cSW_t);
51 const double cSW_s,
const double cSW_t,
52 const std::vector<int> bc)
60 for (
int mu = 0; mu <
m_Ndim; ++mu) {
66 assert(bc.size() ==
m_Ndim);
140 assert(v.
nex() == f.
nex());
141 assert(v.
nin() == f.
nin());
152 const int mu,
const int nu)
173 const int Nvol = w.
nvol();
219 const int mu,
const int nu)
263 const int flop_site =
m_Nc *
m_Nd * (2 + 12 + 48 *
m_Nc);
265 double gflop = flop_site * (Nvol * (NPE / 1.0e+9));
void scal(Field &x, const double a)
scal(x, a): x = a * x
void ah_Field_G(Field_G &W, const int ex)
void set(const int jin, const int site, const int jex, double v)
void general(const char *format,...)
GammaMatrix get_GM(GMspecies spec)
void multadd_Field_Gnd(Field_G &W, const int ex, const Field_G &U1, const int ex1, const Field_G &U2, const int ex2, const double ff)
Field_G m_Ez
field strength.
Container of Field-type object.
void set_parameters(const Parameters ¶ms)
int fetch_double(const string &key, double &value) const
void set_config(Field *U)
setting pointer to the gauge configuration.
void init(std::string repr)
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_fieldstrength(Field_G &, const int, const int)
void multadd_Field_Gn(Field_F &y, const int ex, const Field_G &u, int ex1, const Field_F &x, int ex2, const double a)
void lower(Field_G &, const Field_G &, const int mu, const int nu)
constructs lower staple in mu-nu plane.
std::vector< GammaMatrix > m_SG
Wilson-type fermion field.
void mult_csw(Field &, const Field &)
std::vector< int > m_boundary
void mult_iGM(Field_F &y, const GammaMatrix &gm, const Field_F &x)
gamma matrix multiplication (i is multiplied)
int sg_index(const int mu, const int nu)
Bridge::VerboseLevel m_vl
void mult_isigma(Field_F &, const Field_F &, const int mu, const int nu)
void mult_sigmaF(Field &, const Field &)
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 crucial(const char *format,...)
void mult_GM(Field_F &y, const GammaMatrix &gm, const Field_F &x)
gamma matrix multiplication
void mult_gm5(Field &v, const Field &w)
gamma_5 multiplication. [31 Mar 2017 H.Matsufuru]
static const std::string class_name
double flop_count()
this returns the number of floating point operations.
void setpart_ex(int ex, const Field &w, int exw)
string get_string(const string &key) const
int fetch_int_vector(const string &key, vector< int > &value) const
const Field_G * m_U
pointer to gauge configuration.
static VerboseLevel set_verbose_level(const std::string &str)
void multadd_Field_Gdn(Field_G &W, const int ex, const Field_G &U1, const int ex1, const Field_G &U2, const int ex2, const double ff)
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)