Go to the documentation of this file.
27 m_lambda_Omelyan(0.0),
28 m_str_integrator_type(
""),
29 m_actions(action_list),
41 std::vector<Director *> director,
45 m_lambda_Omelyan(0.0),
46 m_str_integrator_type(
""),
47 m_actions(action_list),
64 m_lambda_Omelyan(0.0),
65 m_str_integrator_type(
""),
66 m_actions(action_list),
87 std::string str_integrator_type;
89 std::vector<int> Nstep;
92 double lambda_Omelyan;
97 err += params.
fetch_string(
"integrator", str_integrator_type);
104 err += params.
fetch_int(
"order_of_exp_iP", Nprec);
107 err += params.
fetch_double(
"lambda_Omelyan", lambda_Omelyan);
109 lambda_Omelyan = 0.0;
118 set_parameters(str_integrator_type, Nstep, Nprec, lambda_Omelyan);
139 const std::vector<int>& Nstep,
141 const double lambda_Omelyan)
146 for (
int lv = 0; lv < Nstep.size(); ++lv) {
206 for (
int lv =
m_Nstep.size() - 1; lv >= 0; --lv) {
240 for (
int lv =
m_Nstep.size() - 1; lv >= 0; --lv) {
263 for (
size_t i = 0, n =
m_integs.size(); i < n; ++i) {
std::vector< Integrator * > m_integs
Integrator to be constructed.
int non_NULL(const std::string v)
void set_string(const string &key, const string &value)
void set_parameters(const Parameters ¶ms)
Common parameter class: provides parameters as singleton.
void set_double(const string &key, const double value)
Integrator of conjugate momenta for given link variables.
std::string get_integrator_type(const int level) const
lists of actions at respective integrator levels.
int m_Nprec
precision parameter of exponentiation
void set_parameters(const Parameters ¶ms)
void append_notify(Integrator *const integ)
int fetch_int_vector(const string &key, vector< int > &value) const
std::vector< int > m_Nstep
Number of steps at each level.
void set_parameters(const Parameters ¶ms)
Integrator of link variable for a given conjugate momenta.
std::vector< Director * > m_director
static const std::string class_name
Standard leapfrog integrator to compose MD integrator.
Omelyan integrator to compose MD integrator.
void set_int_vector(const string &key, const vector< int > &value)
Bridge::VerboseLevel m_vl
void get_parameters(Parameters ¶ms) const
static VerboseLevel set_verbose_level(const std::string &str)
Integrator * build_leapfrog()
int non_zero(const double v)
void set_int(const string &key, const int value)
ActionSet get_actions() const
int fetch_string(const string &key, string &value) const
int fetch_double(const string &key, double &value) const
Integrator * build_omelyan()
void crucial(const char *format,...)
Base class of Integrator class family.
int fetch_int(const string &key, int &value) const
void general(const char *format,...)
void set_parameters(const Parameters ¶ms)
std::string m_str_integrator_type
static std::string get_verbose_level(const VerboseLevel vl)
Builder_Integrator(const ActionList &action_list, std::vector< Director * > director=std::vector< Director * >())
constructor with ActionList