16 #ifdef USE_FACTORY_AUTOREGISTER
18 bool init = ForceSmear_APE::register_factory();
27 const string str_vlevel = params.
get_string(
"verbose_level");
59 for (
int mu = 0; mu <
m_Ndim; ++mu) {
60 for (
int nu = 0; nu <
m_Ndim; ++nu) {
72 for (
int mu = 0; mu <
m_Ndim; ++mu) {
78 assert(rho.size() == m_Ndim *
m_Ndim);
82 for (
int mu = 0; mu <
m_Ndim; ++mu) {
83 for (
int nu = 0; nu <
m_Ndim; ++nu) {
100 for (
int mu = 0; mu <
m_Ndim; ++mu) {
101 for (
int nu = 0; nu <
m_Ndim; ++nu) {
112 const int NinG = 2 * Nc * Nc;
114 assert(Sigmap.
nin() == NinG);
118 for (
int mu = 0; mu <
m_Ndim; ++mu) {
119 m_U[mu].setpart_ex(0, U, mu);
122 for (
int mu = 0; mu <
m_Ndim; ++mu) {
126 for (
int nu = 0; nu <
m_Ndim; ++nu) {
127 if (nu == mu)
continue;
128 double rho =
m_rho[mu + m_Ndim * nu];
138 double alpha =
m_rho[mu + m_Ndim * mu];
142 alpha, sigmap_tmp, C,
m_U[mu]);
146 for (
int mu = 0; mu <
m_Ndim; ++mu) {
147 for (
int nu = 0; nu <
m_Ndim; ++nu) {
148 if (nu == mu)
continue;
149 double rho =
m_rho[mu + m_Ndim * nu];
165 const int mu,
const int nu)
182 axpy(Sigma_mu, 1.0, vt3);
187 axpy(Sigma_mu, 1.0, vt3);
197 axpy(Sigma_mu, 1.0, vt2);
209 const int mu,
const int nu)
Bridge::VerboseLevel m_vl
void set(const int jin, const int site, const int jex, double v)
void general(const char *format,...)
std::vector< Field_G > m_iTheta
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)
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)
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)
void force_each(Field_G &, const Field_G &, const Field_G &, const Field_G &, const Field_G &, const int mu, const int nu)
double rho(const int mu, const int nu)
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_parameters(const Parameters ¶ms)
void backward(Field &, const Field &, const int mu)
void staple(Field_G &, const Field_G &, const Field_G &, const int mu, const int nu)
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 force_udiv(Field_G &Sigma, const Field_G &Sigma_p, const Field_G &U)
std::vector< Field_G > m_U
void setpart_ex(int ex, const Field &w, int exw)
string get_string(const string &key) const
std::vector< double > m_rho
static const std::string class_name
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)