Go to the documentation of this file.
40 vout.
crucial(
"Error at %s: unsupported gamma-matrix type: %s\n",
208 const std::vector<int> bc)
217 const std::vector<int> bc)
222 assert(bc.size() ==
m_Ndim);
236 for (
int mu = 0; mu <
m_Ndim; ++mu) {
317 for (
int mu = 0; mu <
m_Ndim; ++mu) {
318 for (
int nu = 0; nu <
m_Ndim; ++nu) {
319 if (nu == mu)
continue;
386 scal(force, mu, fac);
399 for (
int mu = 0; mu <
m_Ndim; ++mu) {
400 for (
int nu = 0; nu <
m_Ndim; ++nu) {
401 if (nu == mu)
continue;
void mult_gm5(Field &v, const Field &w)
multiplies gamma_5 matrix.
void set_string(const string &key, const string &value)
void forward(Field &, const Field &, const int mu)
void set(const int jin, const int site, const int jex, double v)
void set_double(const string &key, const double value)
void tidyup()
final clean-up.
ShiftField_lex * m_shift
Field shifter.
Org::Fopr_CloverTerm Fopr_CloverTerm
Clover term operator.
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 mult_Field_Gd(Field_F &y, const int ex, const Field_G &u, int ex1, const Field_F &x, int ex2)
void force_udiv1(Field &force, const Field &zeta, const Field &eta)
For recursive calculation of smeared force.
void mult_isigma(Field_F &, const Field_F &, const int mu, const int nu)
void set_config(Field *U)
sets the gauge configuration.
void set_parameters(const Parameters ¶ms)
sets parameters by a Parameter object: to be implemented in a subclass.
void copy(Field &y, const Field &x)
copy(y, x): y = x
void tensorProd_Field_F(Field_G &u, const Field_F &v1, const Field_F &v2)
void set_config(Field *U)
Setting gauge configuration.
void force_core(Field &force, const Field &eta)
Force determination for clover fermion.
std::string m_repr
gamma matrix representation
void force_udiv(Field &force, const Field &eta)
For recursive calculation of smeared force.
void set_component()
Set building components for force calculation.
void set_parameters(const Parameters ¶ms)
Setting parameters of clover fermion force.
int fetch_int_vector(const string &key, vector< int > &value) const
std::vector< int > m_boundary
boundary conditions
double m_kappa
hopping parameter
int index_dir(const int mu, const int nu)
void set_parameters_impl(const Parameters ¶ms)
Setting parameters of clover fermion force.
Staple_lex * m_staple
Staple constructor.
void set_int_vector(const string &key, const vector< int > &value)
Methods to shift a field in the lexical site index.
void force_udiv1_impl(Field_G &force, const Field_F &zeta, const Field_F &eta)
Core implemetation of clover force calculation.
void upper(Field_G &, const Field_G &, const int mu, const int nu)
constructs upper staple in mu-nu plane.
Fopr_CloverTerm * m_fopr_csw
fermion operator
int m_Ndim
spacetime dimension
static Bridge::VerboseLevel Vlevel()
Field_G * m_U
Gauge configuration.
static VerboseLevel set_verbose_level(const std::string &str)
virtual void init()
initializer.
void backward(Field &, const Field &, const int mu)
void mult_Field_Gn(Field_F &y, const int ex, const Field_G &u, int ex1, const Field_F &x, int ex2)
void mult_Field_Gdd(Field_G &W, const int ex, const Field_G &U1, const int ex1, const Field_G &U2, const int ex2)
void scal(Field &x, const double a)
scal(x, a): x = a * x
Field_G * m_Cud
for force calculation
int fetch_string(const string &key, string &value) const
Bridge::VerboseLevel m_vl
verbose level
Wilson-type fermion field.
int fetch_double(const string &key, double &value) const
void crucial(const char *format,...)
Container of Field-type object.
static int get_thread_id()
returns thread id.
static const std::string class_name
void general(const char *format,...)
double m_cSW
clover coefficient
static void assert_single_thread(const std::string &class_name)
assert currently running on single thread.
void get_parameters(Parameters ¶ms) const
Getting parameters of clover fermion force.
static std::string get_verbose_level(const VerboseLevel vl)