27 m_lambda_Omelyan(0.0),
28 m_str_integrator_type(
""),
29 m_actions(action_list),
42 const std::string str_vlevel = params.
get_string(
"verbose_level");
47 std::string str_integrator_type;
49 std::vector<int> Nstep;
52 double lambda_Omelyan;
57 err += params.
fetch_string(
"integrator", str_integrator_type);
64 err += params.
fetch_int(
"order_of_exp_iP", Nprec);
67 err += params.
fetch_double(
"lambda_Omelyan", lambda_Omelyan);
84 const std::vector<int>& Nstep,
86 const double lambda_Omelyan)
91 for (
int lv = 0; lv < Nstep.size(); ++lv) {
151 for (
int lv =
m_Nstep.size() - 1; lv >= 0; --lv) {
185 for (
int lv =
m_Nstep.size() - 1; lv >= 0; --lv) {
208 for (
size_t i = 0, n =
m_integs.size(); i < n; ++i) {
Integrator * build_leapfrog()
Standard leapfrog integrator to compose MD integrator.
std::vector< int > m_Nstep
Number of steps at each level.
void set_parameters(const Parameters ¶ms)
void general(const char *format,...)
Bridge::VerboseLevel m_vl
int fetch_double(const string &key, double &value) const
void set_parameters(const Parameters ¶ms)
void set_parameters(const Parameters ¶ms)
std::vector< Director * > m_director
int m_Nprec
precision parameter of exponentiation
int fetch_string(const string &key, string &value) const
void append_notify(Integrator *const integ)
Base class of Integrator class family.
Integrator of conjugate momenta for given link variables.
ActionSet get_actions() const
void set_parameters(const Parameters ¶ms)
Omelyan integrator to compose MD integrator.
Builder_Integrator(const ActionList &action_list, std::vector< Director * > director=std::vector< Director * >())
constructor with ActionList
std::string m_str_integrator_type
static const std::string class_name
int fetch_int(const string &key, int &value) const
std::vector< Integrator * > m_integs
Integrator to be constructed.
Integrator * build_omelyan()
Common parameter class: provides parameters as singleton.
int non_NULL(const std::string v)
void crucial(const char *format,...)
lists of actions at respective integrator levels.
int non_zero(const double v)
std::string get_integrator_type(const int level) const
string get_string(const string &key) const
int fetch_int_vector(const string &key, vector< int > &value) const
Integrator of link variable for a given conjugate momenta.
static VerboseLevel set_verbose_level(const std::string &str)