21 const string str_vlevel = params.
get_string(
"verbose_level");
53 for (
int mu = 0; mu < Ndim; ++mu) {
59 assert(bc.size() == Ndim);
141 for (
int mu = 0; mu < Ndim; ++mu) {
142 for (
int nu = 0; nu < Ndim; ++nu) {
143 if (nu == mu)
continue;
164 copy(force2, force1);
184 axpy(force2, 1.0, force1);
193 axpy(force2, 1.0, force1);
203 axpy(force2, 1.0, force1);
215 axpy(force2, -1.0, force1);
225 axpy(force2, -1.0, force1);
241 for (
int mu = 0; mu <
m_Ndim; ++mu) {
242 for (
int nu = 0; nu <
m_Ndim; ++nu) {
243 if (nu == mu)
continue;
248 staple.
upper(Cmu_ud1, *
m_U, mu, nu);
251 staple.
lower(Cmu_ud2, *
m_U, mu, nu);
253 axpy(Cmu_ud1, -1.0, Cmu_ud2);
void scal(Field &x, const double a)
scal(x, a): x = a * x
void mult_Field_Gd(Field_F &y, const int ex, const Field_G &u, int ex1, const Field_F &x, int ex2)
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 general(const char *format,...)
Bridge::VerboseLevel m_vl
Org::Fopr_CloverTerm Fopr_CloverTerm
Clover term operator.
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.
void mult_gm5(Field &v, const Field &w)
gamma_5 multiplication. [31 Mar 2017 H.Matsufuru]
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 addpart_ex(int ex, const Field &w, int exw)
Wilson-type fermion field.
int index_dir(const int mu, const int nu)
double m_kappa
hopping parameter
std::vector< int > m_boundary
boundary conditions
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 force_core(Field &force, const Field &eta)
Force determination for clover fermion.
void set_parameters(const Parameters ¶ms)
Setting parameters of clover fermion force.
void backward(Field &, const Field &, const int mu)
void upper(Field_G &, const Field_G &, const int mu, const int nu)
constructs upper staple in mu-nu plane.
void init(const std::string)
void force_udiv(Field &force, const Field &eta)
For recursive calculation of smeared force.
void mult_Field_Gn(Field_F &y, const int ex, const Field_G &u, int ex1, const Field_F &x, int ex2)
void axpy(Field &y, const double a, const Field &x)
axpy(y, a, x): y := a * x + y
void set_component()
Set building components for force calculation.
int m_Ndim
spacetime dimension
void crucial(const char *format,...)
std::string m_repr
gamma matrix representation
void tensorProd_Field_F(Field_G &u, const Field_F &v1, const Field_F &v2)
Fopr_CloverTerm * m_fopr_csw
fermion operator
void force_udiv1_impl(Field_G &force, const Field_F &zeta, const Field_F &eta)
Core implemetation of clover force calculation.
Methods to shift a field in the lexical site index.
double m_cSW
clover coefficient
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
Field_G * m_Cud
for force calculation
static VerboseLevel set_verbose_level(const std::string &str)
void forward(Field &, const Field &, const int mu)
static const std::string class_name