Go to the documentation of this file.
13 #ifdef USE_FACTORY_AUTOREGISTER
15 bool init = ForceSmear_HYP::register_factory();
91 double alpha1, alpha2, alpha3;
154 for (
int mu = 0; mu <
m_Ndim; ++mu) {
185 for (
int mu = 0; mu <
m_Ndim; ++mu) {
190 for (
int nu = 0; nu <
m_Ndim; ++nu) {
191 if (nu == mu)
continue;
208 for (
int mu = 0; mu <
m_Ndim; ++mu) {
209 for (
int nu = 0; nu <
m_Ndim; ++nu) {
210 if (nu == mu)
continue;
226 for (
int mu = 0; mu <
m_Ndim; ++mu) {
227 for (
int nu = 0; nu <
m_Ndim; ++nu) {
228 if (nu == mu)
continue;
233 for (
int rho = 0; rho <
m_Ndim; ++rho) {
234 if ((rho == mu) || (rho == nu))
continue;
253 for (
int mu = 0; mu <
m_Ndim; ++mu) {
254 for (
int nu = 0; nu <
m_Ndim; ++nu) {
255 if (nu == mu)
continue;
256 for (
int rho = 0; rho <
m_Ndim; ++rho) {
257 if ((rho == mu) || (rho == nu))
continue;
274 for (
int mu = 0; mu <
m_Ndim; ++mu) {
275 for (
int nu = 0; nu <
m_Ndim; ++nu) {
276 if (nu == mu)
continue;
277 for (
int rho = 0; rho <
m_Ndim; ++rho) {
278 if ((rho == mu) || (rho == nu))
continue;
280 int sig = 6 - mu - nu - rho;
296 for (
int mu = 0; mu <
m_Ndim; ++mu) {
297 for (
int nu = 0; nu <
m_Ndim; ++nu) {
298 if (nu == mu)
continue;
300 for (
int rho = 0; rho <
m_Ndim; ++rho) {
301 if ((rho == mu) || (rho == nu))
continue;
303 int sig = 6 - mu - nu - rho;
324 const int mu,
const int nu)
380 for (
int mu = 0; mu <
m_Ndim; ++mu) {
381 for (
int nu = 0; nu <
m_Ndim; ++nu) {
382 if (nu == mu)
continue;
384 for (
int rho = nu + 1; rho <
m_Ndim; ++rho) {
385 if (rho == mu)
continue;
387 int sig = 6 - mu - nu - rho;
403 for (
int mu = 0; mu <
m_Ndim; ++mu) {
404 for (
int nu = 0; nu <
m_Ndim; ++nu) {
405 if (nu == mu)
continue;
410 for (
int rho = 0; rho <
m_Ndim; ++rho) {
411 if ((rho != mu) && (rho != nu)) {
429 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 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)
int m_Ndim
spacetime dimension
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
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 get_parameters(Parameters ¶ms) const
void copy(Field &y, const Field &x)
copy(y, x): y = x
int m_Nvol
spacetime volume
double m_alpha3
HYP smearing parameter (level-3)
void set_parameters(const Parameters ¶ms)
std::vector< Field_G > m_v2
void init(const Parameters ¶ms)
int idx1(const int mu, const int nu, const int rho)
double m_alpha1
HYP smearing parameter (level-1)
int idx1b(const int mu, int nu, int rho)
void force_step2(Field_G &)
std::vector< Field_G > m_Sigma2
Methods to shift a field in the lexical site index.
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)
static Bridge::VerboseLevel Vlevel()
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)
double m_alpha2
HYP smearing parameter (level-2)
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)
static int get_thread_id()
returns thread id.
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 void assert_single_thread(const std::string &class_name)
assert currently running on single thread.
virtual void project(Field_G &v, const double alpha, const Field_G &C, const Field_G &U)=0
projection V = P[alpha, C, U]
static std::string get_verbose_level(const VerboseLevel vl)
void force_each(Field_G &, const Field_G &, const Field_G &, const Field_G &, const Field_G &, const int mu, const int nu)