Go to the documentation of this file.
34 err += params.
fetch_int(
"extent_of_5th_dimension", Ns);
49 " set to Shamir's form.\n");
76 const std::vector<int> bc,
94 assert(bc.size() == Ndim);
109 for (
int is = 0; is <
m_Ns; ++is) {
120 for (
int mu = 0; mu < Ndim; ++mu) {
124 for (
int is = 0; is <
m_Ns; ++is) {
126 is,
m_b[is], is,
m_c[is]);
134 const double kappa = 1.0 / (8.0 - 2.0 *
m_M0);
144 vout.
crucial(
"Error at %s: unimplemented.\n", __func__);
165 axpy(force_, 1.0, force);
176 const int NinF = 2 * Nc * Nd;
178 assert(eta.
nin() == NinF);
179 assert(eta.
nvol() == Nvol);
182 assert(zeta.
nin() == NinF);
183 assert(zeta.
nvol() == Nvol);
188 for (
int is = 0; is <
m_Ns; ++is) {
199 axpy(force_, 1.0, force);
static const std::string class_name
void setpart_ex(int ex, const Field &w, int exw)
void set_string(const string &key, const string &value)
std::vector< double > m_c
coefficient c (array)
void force_udiv1(Field &force, const Field &zeta, const Field &eta)
void set(const int jin, const int site, const int jex, double v)
void set_double(const string &key, const double value)
std::vector< double > m_b
coefficient b (array)
void force_udiv1(Field &force, const Field &zeta, const Field &eta)
void axpy(Field &y, const double a, const Field &x)
axpy(y, a, x): y := a * x + y
void set_double_vector(const string &key, const vector< double > &value)
void mult(AFIELD &v, const AFIELD &w)
multiplies fermion operator to a given field.
void copy(Field &y, const Field &x)
copy(y, x): y = x
void force_udiv(Field &force, const Field &eta)
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.
Fopr_Domainwall * m_fopr_dw
Bridge::VerboseLevel m_vl
void set_parameters(const Parameters ¶ms)
void set_int_vector(const string &key, const vector< int > &value)
void get_parameters(Parameters ¶ms) const
void force_core1(Field &force, const Field &zeta, const Field &eta)
void set_parameters(const Parameters ¶ms)
static VerboseLevel set_verbose_level(const std::string &str)
void set_parameters(const Parameters ¶ms)
sets parameters by a Parameter object: to be implemented in a subclass.
int non_zero(const double v)
void set_int(const string &key, const int value)
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
std::vector< int > m_boundary
void crucial(const char *format,...)
void set_mode(std::string mode)
setting the mode of multiplication if necessary. Default implementation here is just to avoid irrelev...
Container of Field-type object.
static int get_thread_id()
returns thread id.
int fetch_int(const string &key, int &value) const
void general(const char *format,...)
Force_F_Wilson_Nf2 * m_force_w
static std::string get_verbose_level(const VerboseLevel vl)