Go to the documentation of this file.
67 double tolerance, safety;
70 err += params.
fetch_int(
"order_of_RungeKutta", Norder_RK);
72 err += params.
fetch_int(
"order_of_approx_for_exp_iP", Nprec);
74 err += params.
fetch_bool(
"adaptive", adaptive);
89 set_parameters(Norder_RK, Estep, Nprec, adaptive, tolerance, safety);
113 const double Estep,
const int Nprec,
115 const double tolerance,
const double safety)
117 vout.
crucial(
m_vl,
"%s: warning: integer variable for adaptive is obsolete. use boolean parameter.\n",
class_name.c_str());
119 return set_parameters(Norder_RK, Estep, Nprec, ((adaptive == 0) ?
false :
true), tolerance, safety);
125 const double Estep,
const int Nprec,
127 const double tolerance,
const double safety)
214 return t * t * 36.0 * (1.0 - plaq);
void set_bool(const string &key, const bool value)
virtual void flow(double &t, double &Estep, Field_G &U)=0
void set_string(const string &key, const string &value)
Common parameter class: provides parameters as singleton.
GradientFlow(Action *action)
double plaquette(const Field_G &)
calculates plaquette value.
void set_double(const string &key, const double value)
Bridge::VerboseLevel m_vl
int non_negative(const int v)
Base class of HMC action class family.
int fetch_bool(const string &key, bool &value) const
GradientFlow_RungeKutta * m_impl
GradientFlow_AdaptiveRungeKutta construction.
static const std::string class_name
GradientFlow_RungeKutta_2nd construction.
void get_parameters(Parameters ¶ms) const
int square_non_zero(const double v)
void set_parameter_Norder_RK(const int order, const bool is_adaptive)
GradientFlow_RungeKutta_4th construction.
GradientFlow_RungeKutta_3rd construction.
static VerboseLevel set_verbose_level(const std::string &str)
double evolve(double &t, Field_G &U)
GradientFlow_RungeKutta_1st construction.
void set_int(const string &key, const int value)
int fetch_string(const string &key, string &value) const
int fetch_double(const string &key, double &value) const
void crucial(const char *format,...)
void set_parameters(const Parameters ¶ms)
int fetch_int(const string &key, int &value) const
void general(const char *format,...)
static std::string get_verbose_level(const VerboseLevel vl)