Go to the documentation of this file.
16 #ifdef USE_FACTORY_AUTOREGISTER
18 bool init = ForceSmear_HYP::register_factory();
33 double alpha1, alpha2, alpha3;
108 for (
int mu = 0; mu <
m_Ndim; ++mu) {
109 m_U[mu].setpart_ex(0, U, mu);
135 for (
int mu = 0; mu <
m_Ndim; ++mu) {
139 for (
int nu = 0; nu <
m_Ndim; ++nu) {
140 if (nu == mu)
continue;
157 for (
int mu = 0; mu <
m_Ndim; ++mu) {
158 for (
int nu = 0; nu <
m_Ndim; ++nu) {
159 if (nu == mu)
continue;
174 for (
int mu = 0; mu <
m_Ndim; ++mu) {
175 for (
int nu = 0; nu <
m_Ndim; ++nu) {
176 if (nu == mu)
continue;
181 for (
int rho = 0; rho <
m_Ndim; ++rho) {
182 if ((rho == mu) || (rho == nu))
continue;
198 for (
int mu = 0; mu <
m_Ndim; ++mu) {
199 for (
int nu = 0; nu <
m_Ndim; ++nu) {
200 if (nu == mu)
continue;
201 for (
int rho = 0; rho <
m_Ndim; ++rho) {
202 if ((rho == mu) || (rho == nu))
continue;
216 for (
int mu = 0; mu <
m_Ndim; ++mu) {
217 for (
int nu = 0; nu <
m_Ndim; ++nu) {
218 if (nu == mu)
continue;
219 for (
int rho = 0; rho <
m_Ndim; ++rho) {
220 if ((rho == mu) || (rho == nu))
continue;
222 int sig = 6 - mu - nu - rho;
237 for (
int mu = 0; mu <
m_Ndim; ++mu) {
238 for (
int nu = 0; nu <
m_Ndim; ++nu) {
239 if (nu == mu)
continue;
241 for (
int rho = 0; rho <
m_Ndim; ++rho) {
242 if ((rho == mu) || (rho == nu))
continue;
244 int sig = 6 - mu - nu - rho;
263 const int mu,
const int nu)
280 axpy(Sigma_mu, 1.0, vt3);
285 axpy(Sigma_mu, 1.0, vt3);
295 axpy(Sigma_mu, 1.0, vt2);
307 for (
int mu = 0; mu <
m_Ndim; ++mu) {
308 for (
int nu = 0; nu <
m_Ndim; ++nu) {
309 if (nu == mu)
continue;
311 for (
int rho = nu + 1; rho <
m_Ndim; ++rho) {
312 if (rho == mu)
continue;
314 int sig = 6 - mu - nu - rho;
329 for (
int mu = 0; mu <
m_Ndim; ++mu) {
330 for (
int nu = 0; nu <
m_Ndim; ++nu) {
331 if (nu == mu)
continue;
336 for (
int rho = 0; rho <
m_Ndim; ++rho) {
337 if ((rho != mu) && (rho != nu)) {
354 const int mu,
const int nu)
Bridge::VerboseLevel m_vl
void force_udiv(Field_G &Sigma, const Field_G &Sigma_p, const Field_G &U)
void setpart_ex(int ex, const Field &w, int exw)
void mult_Field_Gdn(Field_G &W, const int ex, const Field_G &U1, const int ex1, const Field_G &U2, const int ex2)
void set_string(const string &key, const string &value)
void forward(Field &, const Field &, const int mu)
std::vector< Field_G > m_iTheta2
void set(const int jin, const int site, const int jex, double v)
void force_step1(Field_G &)
std::vector< Field_G > m_iTheta3
void set_double(const string &key, const double value)
std::vector< Field_G > m_v1
void force_step3(Field_G &, const Field_G &)
int idx2(const int mu, int nu)
void axpy(Field &y, const double a, const Field &x)
axpy(y, a, x): y := a * x + y
std::vector< Field_G > m_Sigma3
static const std::string class_name
void get_parameters(Parameters ¶ms) const
void set_parameters(const Parameters ¶ms)
std::vector< Field_G > m_v2
int idx1(const int mu, const int nu, const int rho)
void addpart_ex(int ex, const Field &w, int exw)
int idx1b(const int mu, int nu, int rho)
void force_step2(Field_G &)
std::vector< Field_G > m_Sigma2
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)
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
static VerboseLevel set_verbose_level(const std::string &str)
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 backward(Field &, const Field &, const int mu)
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
int fetch_string(const string &key, string &value) const
int fetch_double(const string &key, double &value) const
void crucial(const char *format,...)
std::vector< Field_G > m_iTheta1
void staple(Field_G &, const Field_G &, const Field_G &, const int mu, const int nu)
std::vector< Field_G > m_U
void general(const char *format,...)
void mult_Field_Gnd(Field_G &W, const int ex, const Field_G &U1, const int ex1, const Field_G &U2, const int ex2)
static std::string get_verbose_level(const VerboseLevel vl)
virtual void project(Field_G &v, const double alpha, const Field_G &C, const Field_G &U)=0
projection V = P[alpha, C, U]
void force_each(Field_G &, const Field_G &, const Field_G &, const Field_G &, const Field_G &, const int mu, const int nu)