21 const string str_vlevel = params.
get_string(
"verbose_level");
46 const std::vector<int> bc)
54 for (
int mu = 0; mu < Ndim; ++mu) {
60 assert(bc.size() == Ndim);
118 copy(force_, force1);
121 axpy(force_, 1.0, force1);
154 axpy(force, 1.0, force2);
161 for (
int mu = 0; mu <
m_Ndim; ++mu) {
162 for (
int nu = 0; nu <
m_Ndim; ++nu) {
163 if (nu == mu)
continue;
168 staple.
upper(Cmu_ud1, *
m_U, mu, nu);
171 staple.
lower(Cmu_ud2, *
m_U, mu, nu);
174 axpy(Cmu_ud1, -1.0, Cmu_ud2);
int index_dir(const int mu, const int nu)
double m_kappa
hopping parameter
void set(const int jin, const int site, const int jex, double v)
void general(const char *format,...)
Bridge::VerboseLevel m_vl
Container of Field-type object.
int fetch_double(const string &key, double &value) const
void force_udiv1(Field &force, const Field &zeta, const Field &eta)
For recursive calculation of smeared force.
double m_cSW
clover coefficient
int m_Ndim
spacetime dimension
void copy(Field &y, const Field &x)
copy(y, x): y = x
void lower(Field_G &, const Field_G &, const int mu, const int nu)
constructs lower staple in mu-nu plane.
void H(Field &, const Field &)
Wilson-type fermion field.
void set_parameters(const Parameters ¶ms)
Setting parameters of clover fermion force.
std::vector< int > m_boundary
boundary conditions
void force_udiv1_impl(Field_G &force, const Field_F &zeta, const Field_F &eta)
Core implemetation of clover force calculation.
void set_parameters(const Parameters ¶ms)
Setting parameters of clover fermion force.
void upper(Field_G &, const Field_G &, const int mu, const int nu)
constructs upper staple in mu-nu plane.
Force_F_CloverTerm * m_force_csw
Clover term force.
void init(const std::string)
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 force_udiv(Field &force, const Field &eta)
For recursive calculation of smeared force.
void crucial(const char *format,...)
void set_parameters(const Parameters ¶ms)
Force for the standard Wilson fermion operator.
Field_G * m_Cud
for force calculation
void force_udiv1(Field &force, const Field &zeta, const Field &eta)
For recursive calculation of smeared force.
void set_component()
Set building components for force calculation.
Force_F_Wilson_Nf2 * m_force_w
Wilson fermion force.
std::string m_repr
gamma matrix representation
static const std::string class_name
void setpart_ex(int ex, const Field &w, int exw)
Fopr_Clover * m_fopr_c
fermion operator
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 set_parameters(const Parameters ¶ms)
Force calculation for clover term of clover fermion.