Go to the documentation of this file.
30 double kappa_s, kappa_t, cSW_s, cSW_t;
34 err += params.
fetch_double(
"hopping_parameter_spatial", kappa_s);
35 err += params.
fetch_double(
"hopping_parameter_temporal", kappa_t);
36 err += params.
fetch_double(
"clover_coefficient_spatial", cSW_s);
37 err += params.
fetch_double(
"clover_coefficient_temporal", cSW_t);
65 const double cSW_s,
const double cSW_t,
66 const std::vector<int> bc)
74 for (
int mu = 0; mu <
m_Ndim; ++mu) {
80 assert(bc.size() ==
m_Ndim);
156 assert(v.
nex() == f.
nex());
157 assert(v.
nin() == f.
nin());
168 const int mu,
const int nu)
189 const int Nvol = w.
nvol();
235 const int mu,
const int nu)
279 const int flop_site =
m_Nc *
m_Nd * (2 + 12 + 48 *
m_Nc);
281 double gflop = flop_site * (Nvol * (NPE / 1.0e+9));
Set of Gamma Matrices: basis class.
void setpart_ex(int ex, const Field &w, int exw)
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)
const Field_G * m_U
pointer to gauge configuration.
void forward(Field &, const Field &, const int mu)
void mult_isigma(Field_F &, const Field_F &, const int mu, const int nu)
void mult_GM(Field_F &y, const GammaMatrix &gm, const Field_F &x)
gamma matrix multiplication
void set(const int jin, const int site, const int jex, double v)
void set_double(const string &key, const double value)
void mult_csw(Field &, const Field &)
void mult_gm5(Field &v, const Field &w)
multiplies gamma_5 matrix.
void lower(Field_G &, const Field_G &, const int mu, const int nu)
constructs lower staple in mu-nu plane.
void axpy(Field &y, const double a, const Field &x)
axpy(y, a, x): y := a * x + y
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)
static const std::string class_name
void get_parameters(Parameters ¶ms) const
gets parameters by a Parameter object: to be implemented in a subclass.
Bridge::VerboseLevel m_vl
void ah_Field_G(Field_G &W, const int ex)
void mult_iGM(Field_F &y, const GammaMatrix &gm, const Field_F &x)
gamma matrix multiplication (i is multiplied)
int fetch_int_vector(const string &key, vector< int > &value) const
void set_parameters(const Parameters ¶ms)
sets parameters by a Parameter object: to be implemented in a subclass.
void set_int_vector(const string &key, const vector< int > &value)
std::vector< GammaMatrix > m_SG
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)
void upper(Field_G &, const Field_G &, const int mu, const int nu)
constructs upper staple in mu-nu plane.
void set_config(Field *U)
sets the gauge configuration.
static VerboseLevel set_verbose_level(const std::string &str)
double flop_count()
this returns the number of floating point operations.
void scal(Field &x, const double a)
scal(x, a): x = a * x
int fetch_string(const string &key, string &value) const
Wilson-type fermion field.
int fetch_double(const string &key, double &value) const
GammaMatrix get_GM(GMspecies spec)
void crucial(const char *format,...)
std::vector< int > m_boundary
Field_G m_Ez
field strength.
void set_fieldstrength(Field_G &, const int, const int)
Container of Field-type object.
void mult_sigmaF(Field &, const Field &)
void init(std::string repr)
void general(const char *format,...)
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 mult_Field_Gnd(Field_G &W, const int ex, const Field_G &U1, const int ex1, const Field_G &U2, const int ex2)
int sg_index(const int mu, const int nu)
static std::string get_verbose_level(const VerboseLevel vl)