31 m_action(action.get()),
56 const string str_vlevel = params.
get_string(
"verbose_level");
65 double tolerance, safety;
68 err += params.
fetch_int(
"order_of_RungeKutta", Norder_RK);
70 err += params.
fetch_int(
"order_of_approx_for_exp_iP", Nprec);
72 err += params.
fetch_bool(
"adaptive", adaptive);
87 set_parameters(Norder_RK, Estep, Nprec, adaptive, tolerance, safety);
93 const double Estep,
const int Nprec,
95 const double tolerance,
const double safety)
97 vout.
crucial(
m_vl,
"%s: warning: integer variable for adaptive is obsolete. use boolean parameter.\n",
class_name.c_str());
99 return set_parameters(Norder_RK, Estep, Nprec, ((adaptive == 0) ?
false :
true), tolerance, safety);
105 const double Estep,
const int Nprec,
107 const double tolerance,
const double safety)
194 return t * t * 36.0 * (1.0 - plaq);
static const std::string class_name
int fetch_bool(const string &key, bool &value) const
void general(const char *format,...)
double evolve(double &t, Field_G &U)
int fetch_double(const string &key, double &value) const
double plaquette(const Field_G &)
calculates plaquette value.
GradientFlow_AdaptiveRungeKutta construction.
GradientFlow_RungeKutta_2nd construction.
GradientFlow(Action *action)
GradientFlow_RungeKutta * m_impl
Base class of HMC action class family.
GradientFlow_RungeKutta_4th construction.
int square_non_zero(const double v)
GradientFlow_RungeKutta_3rd construction.
void set_parameter_Norder_RK(const int order, const bool is_adaptive)
GradientFlow_RungeKutta_1st construction.
int fetch_int(const string &key, int &value) const
Common parameter class: provides parameters as singleton.
void crucial(const char *format,...)
virtual void flow(double &t, double &Estep, Field_G &U)=0
Bridge::VerboseLevel m_vl
int non_negative(const int v)
string get_string(const string &key) const
void set_parameters(const Parameters ¶ms)
static VerboseLevel set_verbose_level(const std::string &str)