Go to the documentation of this file.
65 for (
int mu = 0; mu < Ndim; ++mu) {
71 assert(bc.size() == Ndim);
153 for (
int mu = 0; mu < Ndim; ++mu) {
154 for (
int nu = 0; nu < Ndim; ++nu) {
155 if (nu == mu)
continue;
176 copy(force2, force1);
183 shift.backward(vt1, vt3, nu);
186 shift.backward(vt2, zeta, nu);
189 shift.backward(Utmp, Unu, mu);
196 axpy(force2, 1.0, force1);
199 shift.backward(vt1, eta3, mu);
202 shift.backward(zeta_mu, zeta, mu);
205 axpy(force2, 1.0, force1);
208 shift.backward(vt1, eta3, nu);
211 shift.backward(vt1, vt3, mu);
212 shift.backward(vt2, vt4, nu);
215 axpy(force2, 1.0, force1);
218 shift.backward(Utmp, Unu, mu);
224 shift.forward(vt3, vt1, nu);
225 shift.forward(vt4, vt2, nu);
227 axpy(force2, -1.0, force1);
232 shift.backward(vt3, vt1, mu);
233 shift.forward(vt1, vt3, nu);
235 shift.forward(vt2, vt4, nu);
237 axpy(force2, -1.0, force1);
253 for (
int mu = 0; mu <
m_Ndim; ++mu) {
254 for (
int nu = 0; nu <
m_Ndim; ++nu) {
255 if (nu == mu)
continue;
260 staple.
upper(Cmu_ud1, *
m_U, mu, nu);
263 staple.
lower(Cmu_ud2, *
m_U, mu, nu);
265 axpy(Cmu_ud1, -1.0, Cmu_ud2);
void mult_gm5(Field &v, const Field &w)
multiplies gamma_5 matrix.
void setpart_ex(int ex, const Field &w, int exw)
void set_string(const string &key, const string &value)
void set(const int jin, const int site, const int jex, double v)
void set_double(const string &key, const double value)
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 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 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 addpart_ex(int ex, const Field &w, int exw)
void init(const std::string)
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_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 VerboseLevel set_verbose_level(const std::string &str)
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
Wilson-type fermion field.
int fetch_double(const string &key, double &value) const
void crucial(const char *format,...)
Container of Field-type object.
static const std::string class_name
void general(const char *format,...)
double m_cSW
clover coefficient
void get_parameters(Parameters ¶ms) const
Getting parameters of clover fermion force.
static std::string get_verbose_level(const VerboseLevel vl)