21 const string str_vlevel = params.
get_string(
"verbose_level");
28 std::vector<double> phi, phipr;
49 double *phi,
double *phipr)
57 for (
int mu = 0; mu < Ndim; ++mu) {
70 assert(bc.size() == Ndim);
80 for (
int i = 0; i < 3; ++i) {
111 axpy(force, 1.0, force1);
154 for (
int mu = 0; mu < Ndim; ++mu) {
155 for (
int nu = 0; nu < Ndim; ++nu) {
156 if (nu == mu)
continue;
179 copy(force2, force1);
200 axpy(force2, 1.0, force1);
209 axpy(force2, 1.0, force1);
219 axpy(force2, 1.0, force1);
232 axpy(force2, -1.0, force1);
242 axpy(force2, -1.0, force1);
254 for (
int mu = 0; mu <
m_Ndim; ++mu) {
255 for (
int nu = 0; nu <
m_Ndim; ++nu) {
256 if (nu == mu)
continue;
262 staple.
upper(Cmu_ud1, *
m_U, mu, nu);
265 staple.
lower(Cmu_ud2, *
m_U, mu, nu);
267 axpy(Cmu_ud1, -1.0, Cmu_ud2);
SU(N) gauge field class in which a few functions are added for the SF.
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)
double m_phi[3]
SF boundary condition at t=0.
void set_boundary_wkpr(const Mat_SU_N &U)
Set the boundary spatial link at t=Nt-1 for SF bc.
std::vector< int > m_boundary
boundary conditions
int fetch_double_vector(const string &key, vector< double > &value) const
void set(const int jin, const int site, const int jex, double v)
double m_cSW
clover coefficient
void force_udiv1_impl(Field_G &force, const Field_F &zeta, const Field_F &eta)
Core implemetation of clover force calculation.
Field_F_SF set_zero
In order to set the boundary field.
void general(const char *format,...)
Bridge::VerboseLevel m_vl
Container of Field-type object.
int fetch_double(const string &key, double &value) const
int index_dir(const int mu, const int nu)
void force_udiv(Field &force, const Field &eta)
For recursive calculation of smeared force.
Fopr_Clover_SF * m_fopr_c
void copy(Field &y, const Field &x)
copy(y, x): y = x
void force_udiv1(Field &force, const Field &zeta, const Field &eta)
For recursive calculation of smeared force.
void addpart_ex(int ex, const Field &w, int exw)
void mult_isigma(Field_F &, const Field_F &, const int mu, const int nu)
void set_parameters(const Parameters ¶ms)
double m_phipr[3]
SF boundary condition at t=Nt.
Wilson-type fermion field.
void upper(Field_G_SF &, const Field_G &, const int, const int)
void set_boundary_spatial_link_zero()
Set the boundary spatial link to 0 for SF bc.
void set_parameters(const std::vector< double > &phi, const std::vector< double > &phipr)
Set the parameter by giving vector objects.
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 set_boundary_wk(const Mat_SU_N &U)
Set the boundary spatial link at t=0 for SF bc.
void backward(Field &, const Field &, const int mu)
void mult_gm5(Field &v, const Field &w)
gamma_5 multiplication. [31 Mar 2017 H.Matsufuru]
static const std::string class_name
void mult_Field_Gn(Field_F &y, const int ex, const Field_G &u, int ex1, const Field_F &x, int ex2)
double m_kappa
hopping parameter
void axpy(Field &y, const double a, const Field &x)
axpy(y, a, x): y := a * x + y
void crucial(const char *format,...)
void mult(Field &v, const Field &f)
multiplies fermion operator to a given field (2nd argument)
void tensorProd_Field_F(Field_G &u, const Field_F &v1, const Field_F &v2)
void set_mode(const std::string mode)
setting the mode of multiplication if necessary. Default implementation here is just to avoid irrelev...
void set_parameters(const Parameters ¶ms)
Field_G * m_Cud
for force calculation
void set_boundary_zero(Field &f)
void force_udiv1(Field &force, const Field &zeta, const Field &eta)
void set_parameters(const Parameters ¶ms)
Force_F_Wilson_SF * m_force_w
Methods to shift a field in the lexical site index.
void lower(Field_G_SF &, const Field_G &, const int, const int)
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
static VerboseLevel set_verbose_level(const std::string &str)
void set_parameters(const Parameters ¶ms)
void set_component()
Set building components for force calculation.
void forward(Field &, const Field &, const int mu)