21 const string str_vlevel = params.
get_string(
"verbose_level");
39 Field xi(NinF, NvolF, NexF);
48 const double xi2 = xi.
norm();
49 const double H_psf = xi2 * xi2;
68 Field v1(NinF, NvolF, NexF);
85 const int Nex =
m_U->
nex();
96 force = (
Field)Fboundary;
98 double Fave, Fmax, Fdev;
99 force.
stat(Fave, Fmax, Fdev);
100 vout.
general(
m_vl,
" Frational_ave = %12.6f Frational_max = %12.6f Fratio\
SU(N) gauge field class in which a few functions are added for the SF.
double dot(const Field &y, const Field &x)
void general(const char *format,...)
virtual void set_config(Field *)=0
setting pointer to the gauge configuration.
Container of Field-type object.
virtual void set_config(Field *)=0
void set_parameters(const Parameters ¶ms)
setting parameters and creating class instances.
double langevin(RandomNumbers *)
Langevin step called at the beginning of HMC.
virtual void gauss_lex_global(Field &)
gaussian random number defined on global lattice.
static const std::string class_name
virtual int field_nin()=0
returns the on-site d.o.f. for which the fermion operator is defined.
void set_boundary_spatial_link_zero()
Set the boundary spatial link to 0 for SF bc.
virtual int field_nex()=0
returns the external d.o.f. for which the fermion operator is defined.
virtual void force_core(Field &, const Field &)
void force(Field &)
returns the force for updating conjugate momentum.
double calcH()
calculation of Hamiltonian.
void reset(const int Nin, const int Nvol, const int Nex, const element_type cmpl=Element_type::COMPLEX)
Bridge::VerboseLevel m_vl
Base class of random number generators.
virtual void mult(Field &, const Field &)=0
multiplies fermion operator to a given field (2nd argument)
void set_boundary_zero(Field &f)
void stat(double &Fave, double &Fmax, double &Fdev) const
determines the statistics of the field. average, maximum value, and deviation is determined over glob...
string get_string(const string &key) const
virtual int field_nvol()=0
returns the volume for which the fermion operator is defined.
A class generated to add a function for the SF.
static VerboseLevel set_verbose_level(const std::string &str)