Go to the documentation of this file.
10 template<
typename AFIELD>
12 =
"AStaple_lex<AFIELD>";
14 template<
typename AFIELD>
26 m_Umu.reset(m_Ndf, m_Nvol, 1);
28 m_v1.reset(m_Ndf, m_Nvol, 1);
29 m_v2.reset(m_Ndf, m_Nvol, 1);
30 m_v3.reset(m_Ndf, m_Nvol, 1);
35 template<
typename AFIELD>
42 template<
typename AFIELD>
49 plaq = 0.5 * (plaqs + plaqt);
54 template<
typename AFIELD>
68 for (
int mu = 0; mu < m_Ndim-1; ++mu) {
69 int nu = (mu + 1) % (m_Ndim-1);
71 copy(m_Umu, 0, U, mu);
73 upper(m_v3, U, mu, nu);
87 template<
typename AFIELD>
102 copy(m_Umu, 0, U, mu);
104 for (
int nu = 0; nu < m_Ndim-1; ++nu) {
105 upper(m_v3, U, mu, nu);
116 template<
typename AFIELD>
125 for (
int nu = 0; nu < m_Ndim; ++nu) {
127 upper(m_v3, U, mu, nu);
129 lower(m_v3, U, mu, nu);
138 template<
typename AFIELD>
140 const int mu,
const int nu)
147 m_shift->backward(m_v1, 0, U, nu, mu);
149 m_shift->backward(c, 0, U, mu, nu);
158 template<
typename AFIELD>
160 const int mu,
const int nu)
167 m_shift->backward(m_v2, 0, U, nu, mu);
172 m_shift->forward(c, m_v2, nu);
void mult_Gnd(double *restrict u, const int exu, double *restrict v, const int exv, double *restrict w, const int exw, const int nst)
void tidyup()
final tidy up.
void set(const int jin, const int site, const int jex, double v)
void staple(AFIELD &, const AFIELD &, const int mu)
constructs staple in mu-direction (summing up nu-direction).
void mult_Gnn(double *restrict u, const int exu, double *restrict v, const int exv, double *restrict w, const int exw, const int nst)
Shift of a field in the lexical site index.
void lower(AFIELD &, const AFIELD &, const int mu, const int nu)
constructs lower staple in mu-nu plane.
void axpy(Field &y, const double a, const Field &x)
axpy(y, a, x): y := a * x + y
double dot(const Field &y, const Field &x)
void copy(Field &y, const Field &x)
copy(y, x): y = x
void plaq_t(real_t &plaq_t, const AFIELD &)
calculates temporal plaquette value.
void plaquette(real_t &plaq, const AFIELD &)
setting parameters.
void mult_Gdn(double *restrict u, const int exu, double *restrict v, const int exv, double *restrict w, const int exw, const int nst)
void upper(AFIELD &, const AFIELD &, const int mu, const int nu)
constructs upper staple in mu-nu plane.
static Bridge::VerboseLevel Vlevel()
void plaq_s(real_t &plaq_s, const AFIELD &)
calculates spatial plaquette value.
Container of Field-type object.
void init()
initial setup.