16 #ifdef USE_FACTORY_AUTOREGISTER
18 bool init = ForceSmear_HYP::register_factory();
27 const string str_vlevel = params.
get_string(
"verbose_level");
32 double alpha1, alpha2, alpha3;
96 for (
int mu = 0; mu <
m_Ndim; ++mu) {
97 m_U[mu].setpart_ex(0, U, mu);
123 for (
int mu = 0; mu <
m_Ndim; ++mu) {
127 for (
int nu = 0; nu <
m_Ndim; ++nu) {
128 if (nu == mu)
continue;
145 for (
int mu = 0; mu <
m_Ndim; ++mu) {
146 for (
int nu = 0; nu <
m_Ndim; ++nu) {
147 if (nu == mu)
continue;
162 for (
int mu = 0; mu <
m_Ndim; ++mu) {
163 for (
int nu = 0; nu <
m_Ndim; ++nu) {
164 if (nu == mu)
continue;
169 for (
int rho = 0; rho <
m_Ndim; ++rho) {
170 if ((rho == mu) || (rho == nu))
continue;
186 for (
int mu = 0; mu <
m_Ndim; ++mu) {
187 for (
int nu = 0; nu <
m_Ndim; ++nu) {
188 if (nu == mu)
continue;
189 for (
int rho = 0; rho <
m_Ndim; ++rho) {
190 if ((rho == mu) || (rho == nu))
continue;
204 for (
int mu = 0; mu <
m_Ndim; ++mu) {
205 for (
int nu = 0; nu <
m_Ndim; ++nu) {
206 if (nu == mu)
continue;
207 for (
int rho = 0; rho <
m_Ndim; ++rho) {
208 if ((rho == mu) || (rho == nu))
continue;
210 int sig = 6 - mu - nu - rho;
225 for (
int mu = 0; mu <
m_Ndim; ++mu) {
226 for (
int nu = 0; nu <
m_Ndim; ++nu) {
227 if (nu == mu)
continue;
229 for (
int rho = 0; rho <
m_Ndim; ++rho) {
230 if ((rho == mu) || (rho == nu))
continue;
232 int sig = 6 - mu - nu - rho;
251 const int mu,
const int nu)
268 axpy(Sigma_mu, 1.0, vt3);
273 axpy(Sigma_mu, 1.0, vt3);
283 axpy(Sigma_mu, 1.0, vt2);
295 for (
int mu = 0; mu <
m_Ndim; ++mu) {
296 for (
int nu = 0; nu <
m_Ndim; ++nu) {
297 if (nu == mu)
continue;
299 for (
int rho = nu + 1; rho <
m_Ndim; ++rho) {
300 if (rho == mu)
continue;
302 int sig = 6 - mu - nu - rho;
317 for (
int mu = 0; mu <
m_Ndim; ++mu) {
318 for (
int nu = 0; nu <
m_Ndim; ++nu) {
319 if (nu == mu)
continue;
324 for (
int rho = 0; rho <
m_Ndim; ++rho) {
325 if ((rho != mu) && (rho != nu)) {
342 const int mu,
const int nu)
void scal(Field &x, const double a)
scal(x, a): x = a * x
Bridge::VerboseLevel m_vl
void set_parameters(const Parameters ¶ms)
void set(const int jin, const int site, const int jex, double v)
void general(const char *format,...)
std::vector< Field_G > m_U
void force_step3(Field_G &, const Field_G &)
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 force_each(Field_G &, const Field_G &, const Field_G &, const Field_G &, const Field_G &, const int mu, const int nu)
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
std::vector< Field_G > m_iTheta2
void addpart_ex(int ex, const Field &w, int exw)
std::vector< Field_G > m_v2
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 mult_Field_Gdd(Field_G &W, const int ex, const Field_G &U1, const int ex1, const Field_G &U2, const int ex2)
static const std::string class_name
int idx2(const int mu, int nu)
void backward(Field &, const Field &, const int mu)
int idx1b(const int mu, int nu, int rho)
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_iTheta1
int idx1(const int mu, const int nu, const int rho)
std::vector< Field_G > m_v1
std::vector< Field_G > m_Sigma2
void force_step1(Field_G &)
void force_step2(Field_G &)
void setpart_ex(int ex, const Field &w, int exw)
std::vector< Field_G > m_iTheta3
string get_string(const string &key) const
void staple(Field_G &, const Field_G &, const Field_G &, const int mu, const int nu)
std::vector< Field_G > m_Sigma3
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)