16 #ifdef USE_FACTORY_AUTOREGISTER
18 bool init = ForceSmear_APE_SF::register_factory();
27 const string str_vlevel = params.
get_string(
"verbose_level");
33 std::vector<double> phi, phipr;
70 for (
int mu = 0; mu <
m_Ndim; ++mu) {
71 for (
int nu = 0; nu <
m_Ndim; ++nu) {
76 for (
int i = 0; i < 3; ++i) {
91 for (
int mu = 0; mu <
m_Ndim; ++mu) {
105 assert(rho.size() == m_Ndim *
m_Ndim);
109 for (
int mu = 0; mu <
m_Ndim; ++mu) {
110 for (
int nu = 0; nu <
m_Ndim; ++nu) {
115 for (
int i = 0; i < 3; ++i) {
135 for (
int mu = 0; mu <
m_Ndim; ++mu) {
136 for (
int nu = 0; nu <
m_Ndim; ++nu) {
172 const int NinG = 2 * Nc * Nc;
174 assert(Sigmap.
nin() == NinG);
178 for (
int mu = 0; mu <
m_Ndim; ++mu) {
179 m_U[mu].setpart_ex(0, U, mu);
183 for (
int mu = 0; mu <
m_Ndim; ++mu) {
187 for (
int nu = 0; nu <
m_Ndim; ++nu) {
188 if (nu == mu)
continue;
189 double rho =
m_rho[mu + m_Ndim * nu];
199 double alpha =
m_rho[mu + m_Ndim * mu];
203 alpha, sigmap_tmp, C,
m_U[mu]);
207 for (
int mu = 0; mu <
m_Ndim; ++mu) {
208 for (
int nu = 0; nu <
m_Ndim; ++nu) {
209 if (nu == mu)
continue;
211 double rho =
m_rho[mu + m_Ndim * nu];
241 const int mu,
const int nu)
262 axpy(Sigma_mu, 1.0, vt3);
268 axpy(Sigma_mu, 1.0, vt3);
281 axpy(Sigma_mu, 1.0, vt2);
295 const int mu,
const int nu)
Bridge::VerboseLevel m_vl
void force_each(Field_G &, const Field_G &, const Field_G &, const Field_G &, const Field_G &, const int mu, const int nu)
void set_boundary_wkpr(const Mat_SU_N &U)
Set the boundary spatial link at t=Nt-1 for SF bc.
int fetch_double_vector(const string &key, vector< double > &value) const
void set(const int jin, const int site, const int jex, double v)
void force_udiv(Field_G &Sigma, const Field_G &Sigma_p, const Field_G &U)
void general(const char *format,...)
static const std::string class_name
void multadd_Field_Gnd(Field_G &W, const int ex, const Field_G &U1, const int ex1, const Field_G &U2, const int ex2, const double ff)
void set_parameters(const Parameters ¶ms)
double rho(const int mu, const int nu)
int fetch_double(const string &key, double &value) const
void mult_Field_Gdn(Field_G &W, const int ex, const Field_G &U1, const int ex1, const Field_G &U2, const int ex2)
std::vector< Field_G > m_iTheta
virtual void force_recursive(Field_G &Xi, Field_G &iTheta, const double alpha, const Field_G &Sigmap, const Field_G &C, const Field_G &U)=0
determination of fields for force calculation
void addpart_ex(int ex, const Field &w, int exw)
std::vector< double > m_rho
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.
double m_phi[3]
SF boundary condition at t=0.
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 axpy(Field &y, const double a, const Field &x)
axpy(y, a, x): y := a * x + y
void mult_Field_Gnn(Field_G &W, const int ex, const Field_G &U1, const int ex1, const Field_G &U2, const int ex2)
void crucial(const char *format,...)
void staple(Field_G &, const Field_G &, const Field_G &, const int mu, const int nu)
std::vector< Field_G > m_U
double m_phipr[3]
SF boundary condition at t=Nt.
void setpart_ex(int ex, const Field &w, int exw)
string get_string(const string &key) const
static VerboseLevel set_verbose_level(const std::string &str)
void forward(Field &, const Field &, const int mu)
void mult_Field_Gnd(Field_G &W, const int ex, const Field_G &U1, const int ex1, const Field_G &U2, const int ex2)