16 #ifdef USE_FACTORY_AUTOREGISTER
18 bool init = ForceSmear_HYP_SF::register_factory();
27 const string str_vlevel = params.
get_string(
"verbose_level");
32 double alpha1, alpha2, alpha3;
33 std::vector<double> phi, phipr;
54 double *phi,
double *phipr)
78 for (
int i = 0; i < 3; ++i) {
129 for (
int mu = 0; mu <
m_Ndim; ++mu) {
130 m_U[mu].setpart_ex(0, U, mu);
169 for (
int mu = 0; mu <
m_Ndim; ++mu) {
173 for (
int nu = 0; nu <
m_Ndim; ++nu) {
174 if (nu == mu)
continue;
191 for (
int mu = 0; mu <
m_Ndim; ++mu) {
192 for (
int nu = 0; nu <
m_Ndim; ++nu) {
193 if (nu == mu)
continue;
220 for (
int mu = 0; mu <
m_Ndim; ++mu) {
221 for (
int nu = 0; nu <
m_Ndim; ++nu) {
222 if (nu == mu)
continue;
227 for (
int rho = 0; rho <
m_Ndim; ++rho) {
228 if ((rho == mu) || (rho == nu))
continue;
244 for (
int mu = 0; mu <
m_Ndim; ++mu) {
245 for (
int nu = 0; nu <
m_Ndim; ++nu) {
246 if (nu == mu)
continue;
248 for (
int rho = 0; rho <
m_Ndim; ++rho) {
249 if ((rho == mu) || (rho == nu))
continue;
275 for (
int mu = 0; mu <
m_Ndim; ++mu) {
276 for (
int nu = 0; nu <
m_Ndim; ++nu) {
277 if (nu == mu)
continue;
278 for (
int rho = 0; rho <
m_Ndim; ++rho) {
279 if ((rho == mu) || (rho == nu))
continue;
281 int sig = 6 - mu - nu - rho;
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 = 0; rho <
m_Ndim; ++rho) {
300 if ((rho == mu) || (rho == nu))
continue;
302 int sig = 6 - mu - nu - rho;
335 const int mu,
const int nu)
356 axpy(Sigma_mu, 1.0, vt3);
362 axpy(Sigma_mu, 1.0, vt3);
375 axpy(Sigma_mu, 1.0, vt2);
389 for (
int mu = 0; mu <
m_Ndim; ++mu) {
390 for (
int nu = 0; nu <
m_Ndim; ++nu) {
391 if (nu == mu)
continue;
393 for (
int rho = nu + 1; rho <
m_Ndim; ++rho) {
394 if (rho == mu)
continue;
396 int sig = 6 - mu - nu - rho;
412 for (
int mu = 0; mu <
m_Ndim; ++mu) {
413 for (
int nu = 0; nu <
m_Ndim; ++nu) {
414 if (nu == mu)
continue;
419 for (
int rho = 0; rho <
m_Ndim; ++rho) {
420 if ((rho != mu) && (rho != nu)) {
438 const int mu,
const int nu)
void scal(Field &x, const double a)
scal(x, a): x = a * x
Bridge::VerboseLevel m_vl
static const std::string class_name
void set_boundary_zero()
Set the boundary matrix to 0 for SF bc.
void set_boundary_wkpr(const Mat_SU_N &U)
Set the boundary spatial link at t=Nt-1 for SF bc.
void force_udiv(Field_G &Sigma, const Field_G &Sigma_p, const Field_G &U)
int fetch_double_vector(const string &key, vector< double > &value) const
void set(const int jin, const int site, const int jex, double v)
double m_phi[3]
SF boundary condition at t=0.
void general(const char *format,...)
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
std::vector< Field_G > m_iTheta2
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_Sigma2
int idx1b(const int mu, int nu, int rho)
void force_step2(Field_G &)
void addpart_ex(int ex, const Field &w, int exw)
void set_parameters(const Parameters ¶ms)
void set_boundary_spatial_link_zero()
Set the boundary spatial link to 0 for SF bc.
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 set_parameters(const std::vector< double > &phi, const std::vector< double > &phipr)
Set the parameter by giving vector objects.
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.
std::vector< Field_G > m_iTheta3
std::vector< Field_G > m_v1
int idx2(const int mu, int nu)
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
std::vector< Field_G > m_Sigma3
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,...)
std::vector< Field_G > m_v2
std::vector< Field_G > m_U
void force_step3(Field_G &, const Field_G &)
int idx1(const int mu, const int nu, const int rho)
void staple(Field_G &, const Field_G &, const Field_G &, const int mu, const int nu)
void setpart_ex(int ex, const Field &w, int exw)
string get_string(const string &key) const
double m_phipr[3]
SF boundary condition at t=Nt.
void force_step1(Field_G &)
void force_each(Field_G &, const Field_G &, const Field_G &, const Field_G &, const Field_G &, const int mu, const int nu)
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)
std::vector< Field_G > m_iTheta1