Go to the documentation of this file.
47 Field xi(NinF, NvolF, NexF);
53 const double xi2 = xi.
norm();
54 const double H_psf = xi2 * xi2;
73 Field v1(NinF, NvolF, NexF);
89 const int Nin =
m_U->
nin();
91 const int Nex =
m_U->
nex();
93 assert(
force.nin() == Nin);
94 assert(
force.nvol() == Nvol);
95 assert(
force.nex() == Nex);
102 double Fave, Fmax, Fdev;
103 force.stat(Fave, Fmax, Fdev);
104 vout.
general(
m_vl,
" Frational_ave = %12.6f Frational_max = %12.6f Frational_dev = %12.6f\n",
static const std::string class_name
void set_string(const string &key, const string &value)
virtual void mult(AFIELD &, const AFIELD &)
multiplies fermion operator to a given field.
virtual int field_nex()=0
returns the external degree of freedom of the fermion field.
void force(Field &)
returns the force for updating conjugate momentum.
Base class of random number generators.
void get_parameters(Parameters ¶ms) const
virtual void set_config(Field *)=0
double dot(const Field &y, const Field &x)
virtual void set_config(Field *)=0
sets the gauge configuration.
virtual int field_nvol()=0
returns the volume of the fermion field.
void set_parameters(const Parameters ¶ms)
virtual void force_core(Field &, const Field &)
void reset(const int Nin, const int Nvol, const int Nex, const element_type cmpl=Element_type::COMPLEX)
Bridge::VerboseLevel m_vl
static VerboseLevel set_verbose_level(const std::string &str)
double langevin(RandomNumbers *)
Langevin step called at the beginning of HMC.
int fetch_string(const string &key, string &value) const
double calcH()
calculation of Hamiltonian.
Container of Field-type object.
virtual void gauss_lex_global(Field &)
gaussian random number defined on global lattice.
virtual int field_nin()=0
returns the on-site degree of freedom of the fermion field.
void general(const char *format,...)
static std::string get_verbose_level(const VerboseLevel vl)