48 assert(NvolF == Nvol);
53 Field xi(NinF, NvolF, NexF);
61 const double xi2 = xi.
norm();
62 const double H_psf = xi2 * xi2;
84 Field v1(NinF, NvolF, NexF);
104 const int Nin =
m_U->
nin();
106 const int Nex =
m_U->
nex();
110 assert(force.
nin() == Nin);
111 assert(force.
nvol() == Nvol);
112 assert(force.
nex() == Nex);
121 Field eta(NinF, NvolF, NexF);
133 double Fave, Fmax, Fdev;
134 force.
stat(Fave, Fmax, Fdev);
136 " Fstandard_ave = %12.6f Fstandard_max = %12.6f Fstandard_dev = %12.6f\n",
void set_config(Field *U)
setting pointer to the gauge configuration.
void detailed(const char *format,...)
double dot(const Field &y, const Field &x)
virtual void set_config(Field *)=0
void general(const char *format,...)
virtual void set_mode(const std::string mode)
setting the mode of multiplication if necessary. Default implementation here is just to avoid irrelev...
virtual void set_config(Field *)=0
setting pointer to the gauge configuration.
Container of Field-type object.
virtual void set_config(Field *)=0
double calcH()
calculate Hamiltonian of this action term.
double langevin(RandomNumbers *)
Langevis step.
virtual void gauss_lex_global(Field &)
gaussian random number defined on global lattice.
virtual int field_nin()=0
returns the on-site d.o.f. for which the fermion operator is defined.
void set_parameter_verboselevel(const Bridge::VerboseLevel vl)
virtual void invert_DdagD(Field &, const Field &, int &, double &)=0
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 &)
Bridge::VerboseLevel get_VerboseLevel() const
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 stat(double &Fave, double &Fmax, double &Fdev) const
determines the statistics of the field. average, maximum value, and deviation is determined over glob...
void force(Field &)
returns force for molcular dynamical update of conjugate momenta.
void set_parameters(const Parameters &)
virtual int field_nvol()=0
returns the volume for which the fermion operator is defined.
static const std::string class_name