16 #ifdef USE_PARAMETERS_FACTORY
33 #ifdef USE_PARAMETERS_FACTORY
48 const string str_vlevel = params.
get_string(
"verbose_level");
73 const std::vector<int> bc)
81 for (
int mu = 0; mu < Ndim; ++mu) {
87 assert(bc.size() == Ndim);
94 for (
int mu = 0; mu < Ndim; ++mu) {
149 copy(force_, force1);
152 axpy(force_, 1.0, force1);
189 axpy(force, 1.0, force2);
204 for (
int mu = 0; mu <
m_Ndim; ++mu) {
205 for (
int nu = 0; nu <
m_Ndim; ++nu) {
206 if (nu == mu)
continue;
208 staple.
upper(Cmu_ud1, *
m_U, mu, nu);
209 staple.
lower(Cmu_ud2, *
m_U, mu, nu);
211 axpy(Cmu_ud1, -1.0, Cmu_ud2);
void Register_int_vector(const string &, const std::vector< int > &)
double m_kappa
hopping parameter
void Register_string(const string &, const string &)
void set(const int jin, const int site, const int jex, double v)
void general(const char *format,...)
Bridge::VerboseLevel m_vl
int index_dir(int mu, int nu)
Container of Field-type object.
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 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.
Force_F_CloverTerm * m_force_csw
Clover term force.
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)
Field_G * m_Cud
for force calculation
void lower(Field_G &, const Field_G &, const int mu, const int nu)
constructs lower staple in mu-nu plane.
void force_udiv1(Field &force, const Field &zeta, const Field &eta)
For recursive calculation of smeared force.
static bool Register(const std::string &realm, const creator_callback &cb)
void set_component()
Set building components for force calculation.
Force_F_Wilson_Nf2 * m_force_w
Wilson fermion force.
void Register_double(const string &, const double)
std::string m_repr
gamma matrix representation
Methods to shift a field in the lexical site index.
static const std::string class_name
void setpart_ex(int ex, const Field &w, int exw)
int fetch_double(const string &key, double &val) const
Fopr_Clover * m_fopr_c
fermion operator
string get_string(const string &key) const
Parameters_Force_F_Clover_Nf2()
void upper(Field_G &, const Field_G &, const int mu, const int nu)
constructs upper staple in mu-nu plane.
static VerboseLevel set_verbose_level(const std::string &str)
void set_parameters(const Parameters ¶ms)
int fetch_int_vector(const string &key, std::vector< int > &val) const