16 #ifdef USE_PARAMETERS_FACTORY
32 #ifdef USE_PARAMETERS_FACTORY
47 const string str_vlevel = params.
get_string(
"verbose_level");
59 err += params.
fetch_int(
"number_of_steps", Nstep);
100 double esteph = 0.5 * estep;
103 Field force(Nin, Nvol, Nex), force1(Nin, Nvol, Nex);
113 for (
int i = 0; i <
m_action.size(); ++i) {
115 force += esteph * force1;
121 for (
int istep = 1; istep <
m_Nstep + 1; istep++) {
127 if (istep == m_Nstep) estep2 = esteph;
130 for (
int i = 0; i <
m_action.size(); ++i) {
132 force += estep2 * force1;
void Register_string(const string &, const string &)
Integrator * m_integ_next
void general(const char *format,...)
void Register_int(const string &, const int)
Container of Field-type object.
void set_parameters(const Parameters ¶ms)
virtual void evolve(Field_G &iP, Field_G &U)=0
static const std::string class_name
Bridge::VerboseLevel m_vl
std::valarray< Action * > m_action
void crucial(const char *format,...)
static bool Register(const std::string &realm, const creator_callback &cb)
Parameters_Integrator_Leapfrog()
void Register_double(const string &, const double)
void evolve(Field_G &iP, Field_G &U)
int fetch_double(const string &key, double &val) const
string get_string(const string &key) const
int fetch_int(const string &key, int &val) const
static VerboseLevel set_verbose_level(const std::string &str)