24 const std::string str_vlevel = params.
get_string(
"verbose_level");
49 const std::vector<int> bc)
55 for (
int mu = 0; mu <
m_Ndim; ++mu) {
61 assert(bc.size() ==
m_Ndim);
133 assert(v.
nex() == f.
nex());
134 assert(v.
nin() == f.
nin());
145 const int mu,
const int nu)
166 const int Nvol = w.
nvol();
211 const int mu,
const int nu)
255 const int flop_site =
m_Nc *
m_Nd * (2 + 12 + 48 *
m_Nc);
257 const 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 mult_isigma(Field_F &, const Field_F &, const int mu, const int nu)
void set(const int jin, const int site, const int jex, double v)
void set_parameters(const Parameters ¶ms)
static const std::string class_name
double flop_count()
this returns the number of floating point operations.
void general(const char *format,...)
GammaMatrix get_GM(GMspecies spec)
void mult_csw(Field &, const Field &)
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 set_config(Field *U)
setting pointer to the gauge configuration.
Container of Field-type object.
int fetch_double(const string &key, double &value) const
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 mult_sigmaF(Field &, const Field &)
void mult_gm5(Field &v, const Field &w)
gamma_5 multiplication. [31 Mar 2017 H.Matsufuru]
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.
int sg_index(const int mu, const int nu)
Wilson-type fermion field.
void mult_iGM(Field_F &y, const GammaMatrix &gm, const Field_F &x)
gamma matrix multiplication (i is multiplied)
Bridge::VerboseLevel m_vl
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
std::vector< GammaMatrix > m_SG
std::vector< int > m_boundary
void crucial(const char *format,...)
void mult_GM(Field_F &y, const GammaMatrix &gm, const Field_F &x)
gamma matrix multiplication
const Field_G * m_U
pointer to gauge configuration.
Field_G m_Ez
field strength.
void set_fieldstrength(Field_G &, const int, const int)
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
static VerboseLevel set_verbose_level(const std::string &str)
void init(const std::string repr)
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)