Bridge++
Version 1.4.4
|
Builder of MD integrator for HMC. More...
#include <builder_Integrator.h>
Public Member Functions | |
Builder_Integrator (const ActionList &action_list, std::vector< Director * > director=std::vector< Director * >()) | |
constructor with ActionList More... | |
~Builder_Integrator () | |
destructor More... | |
void | set_parameters (const Parameters ¶ms) |
void | set_parameters (std::string str_integrator_type, const std::vector< int > &Nstep, const int Nprec, const double lambda_Omelyan) |
void | set_parameter_verboselevel (const Bridge::VerboseLevel vl) |
Integrator * | build () |
Integrator * | build_leapfrog () |
Integrator * | build_omelyan () |
void | tidyup () |
Static Public Attributes | |
static const std::string | class_name = "Builder_Integrator" |
Protected Attributes | |
Bridge::VerboseLevel | m_vl |
Private Member Functions | |
Builder_Integrator (const Builder_Integrator &) | |
Builder_Integrator & | operator= (const Builder_Integrator &) |
Private Attributes | |
std::vector< int > | m_Nstep |
Number of steps at each level. More... | |
int | m_Nprec |
precision parameter of exponentiation More... | |
double | m_lambda_Omelyan |
std::string | m_str_integrator_type |
ActionList | m_actions |
std::vector< Director * > | m_director |
std::vector< Integrator * > | m_integs |
Integrator to be constructed. More... | |
Builder of MD integrator for HMC.
This class builds a molecular dynamics integrator for hybrid Monte Carlo update algorithm by composing subclasses of Integrator. At present standard leapfrog and omelyan integrators can be composed of. 25 Dec 2011 H.Matsufuru YAML is implemented. [03 Mar 2013 Y.Namekawa]
Definition at line 40 of file builder_Integrator.h.
Builder_Integrator::Builder_Integrator | ( | const ActionList & | action_list, |
std::vector< Director * > | director = std::vector<Director *>() |
||
) |
constructor with ActionList
Definition at line 26 of file builder_Integrator.cpp.
|
inline |
destructor
Definition at line 68 of file builder_Integrator.h.
|
private |
Integrator * Builder_Integrator::build | ( | ) |
Definition at line 121 of file builder_Integrator.cpp.
Integrator * Builder_Integrator::build_leapfrog | ( | ) |
Definition at line 140 of file builder_Integrator.cpp.
Integrator * Builder_Integrator::build_omelyan | ( | ) |
Definition at line 174 of file builder_Integrator.cpp.
|
private |
|
inline |
Definition at line 85 of file builder_Integrator.h.
void Builder_Integrator::set_parameters | ( | const Parameters & | params | ) |
Definition at line 42 of file builder_Integrator.cpp.
void Builder_Integrator::set_parameters | ( | std::string | str_integrator_type, |
const std::vector< int > & | Nstep, | ||
const int | Nprec, | ||
const double | lambda_Omelyan | ||
) |
Definition at line 85 of file builder_Integrator.cpp.
void Builder_Integrator::tidyup | ( | ) |
Definition at line 208 of file builder_Integrator.cpp.
|
static |
Definition at line 43 of file builder_Integrator.h.
|
private |
Definition at line 56 of file builder_Integrator.h.
|
private |
Definition at line 57 of file builder_Integrator.h.
|
private |
Integrator to be constructed.
Definition at line 60 of file builder_Integrator.h.
|
private |
Definition at line 52 of file builder_Integrator.h.
|
private |
precision parameter of exponentiation
Definition at line 51 of file builder_Integrator.h.
|
private |
Number of steps at each level.
Definition at line 49 of file builder_Integrator.h.
|
private |
Definition at line 54 of file builder_Integrator.h.
|
protected |
Definition at line 46 of file builder_Integrator.h.