Go to the documentation of this file.
30 err += params.
fetch_int(
"number_of_noises", Nnoise);
93 Field xi(Nin, Nvol, Nex);
94 Field v1(Nin, Nvol, Nex), v2(Nin, Nvol, Nex), v3(Nin, Nvol, Nex);
96 dcomplex tr1 = cmplx(0.0, 0.0);
97 dcomplex tr2 = cmplx(0.0, 0.0);
98 dcomplex tr3 = cmplx(0.0, 0.0);
100 for (
int i_noise = 0; i_noise <
m_Nnoise; ++i_noise) {
116 dcomplex tr_c1 =
dotc(xi, v1);
117 dcomplex tr_c2 =
dotc(xi, v2);
119 dcomplex tr1_c = tr_c1 - tr_c2;
120 dcomplex tr2_c = tr_c1 + tr_c2;
139 dcomplex tr3_c =
dotc(xi, v1);
150 tr1 = tr1 / cmplx(
double(
m_Nnoise), 0.0);
151 tr2 = tr2 / cmplx(
double(
m_Nnoise), 0.0);
152 tr3 = tr3 / cmplx(
double(
m_Nnoise), 0.0);
void set_string(const string &key, const string &value)
virtual int field_nex()=0
returns the external degree of freedom of the fermion field.
Bridge::VerboseLevel m_vl
void axpy(Field &y, const double a, const Field &x)
axpy(y, a, x): y := a * x + y
int non_negative(const int v)
double measure()
measure tr1 = Tr[D1*Sq], tr2 = Tr[D2*Sq], tr3 = Tr[D1*Sq*D1*Sq].
virtual void set(Field &v)=0
setting a noise vector.
virtual void invert_D(Field &, const Field &, int &, double &)=0
virtual int field_nvol()=0
returns the volume of the fermion field.
dcomplex dotc(const Field &y, const Field &x)
virtual void mult_dn(int mu, AFIELD &, const AFIELD &)
downward nearest neighbor hopping term.
static VerboseLevel set_verbose_level(const std::string &str)
void set_int(const string &key, const int value)
static const std::string class_name
int fetch_string(const string &key, string &value) const
void crucial(const char *format,...)
Container of Field-type object.
virtual int field_nin()=0
returns the on-site degree of freedom of the fermion field.
void set_parameters(const Parameters ¶ms)
int fetch_int(const string &key, int &value) const
void general(const char *format,...)
void get_parameters(Parameters ¶ms) const
virtual void mult_up(int mu, AFIELD &, const AFIELD &)
upward nearest neighbor hopping term.
static std::string get_verbose_level(const VerboseLevel vl)