Go to the documentation of this file.
14 =
"Action_F_Standard_lex";
62 double Fpsf = 1.0/(double(NinF * NvolF * NexF) * double(NPE));
64 assert(NvolF == Nvol);
67 Field xi(NinF, NvolF, NexF);
79 const double xi2 = xi.
norm();
80 const double H_psf1 = xi2 * xi2;
83 if(ith == 0) H_psf = H_psf1;
111 double Fpsf = 1.0/(double(NinF * NvolF * NexF) * double(NPE));
113 Field v1(NinF, NvolF, NexF);
126 const double H_psf1 =
dot(v1,
m_psf);
128 if(ith == 0) H_psf = H_psf1;
152 const int Nin =
m_U->
nin();
154 const int Nex =
m_U->
nex();
156 assert(
force.nin() == Nin);
157 assert(
force.nvol() == Nvol);
158 assert(
force.nex() == Nex);
164 Field eta(NinF, NvolF, NexF);
177 double Fave, Fmax, Fdev;
178 force.stat(Fave, Fmax, Fdev);
void set_string(const string &key, const string &value)
void get_parameters(Parameters &) const
static const std::string class_name
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 set_config(Field *U)
setting pointer to the gauge configuration.
Base class of random number generators.
virtual void set_config(Field *)=0
double dot(const Field &y, const Field &x)
virtual void set_mode(std::string mode)
setting the mode of multiplication if necessary. Default implementation here is just to avoid irrelev...
virtual void set_config(Field *)=0
sets the gauge configuration.
void set_parameters(const Parameters &)
virtual int field_nvol()=0
returns the volume of the fermion field.
double calcH()
calculate Hamiltonian of this action term.
void reset(const int Nin, const int Nvol, const int Nex, const element_type cmpl=Element_type::COMPLEX)
virtual void invert_DdagD(Field &, const Field &, int &, double &)=0
void force(Field &)
returns force for molcular dynamical update of conjugate momenta.
virtual void set_config(Field *)=0
sets verbose level.
virtual void force_core(AFIELD &, const AFIELD &)
static VerboseLevel set_verbose_level(const std::string &str)
Bridge::VerboseLevel m_vl
double langevin(RandomNumbers *)
Langevis step.
int fetch_string(const string &key, string &value) const
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.
double elapsed_sec() const
static int get_thread_id()
returns thread id.
void general(const char *format,...)
static std::string get_verbose_level(const VerboseLevel vl)