Bridge++  Version 1.5.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Builder_Integrator Class Reference

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 &params)
 
void set_parameters (const 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)
 
Integratorbuild ()
 
Integratorbuild_leapfrog ()
 
Integratorbuild_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_Integratoroperator= (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...
 

Detailed Description

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 39 of file builder_Integrator.h.

Constructor & Destructor Documentation

Builder_Integrator::Builder_Integrator ( const ActionList action_list,
std::vector< Director * >  director = std::vector<Director *>() 
)

constructor with ActionList

Definition at line 24 of file builder_Integrator.cpp.

Builder_Integrator::~Builder_Integrator ( )
inline

destructor

Definition at line 67 of file builder_Integrator.h.

Builder_Integrator::Builder_Integrator ( const Builder_Integrator )
private

Member Function Documentation

Integrator * Builder_Integrator::build ( )

Definition at line 119 of file builder_Integrator.cpp.

Integrator * Builder_Integrator::build_leapfrog ( )

Definition at line 138 of file builder_Integrator.cpp.

Integrator * Builder_Integrator::build_omelyan ( )

Definition at line 172 of file builder_Integrator.cpp.

Builder_Integrator& Builder_Integrator::operator= ( const Builder_Integrator )
private
void Builder_Integrator::set_parameter_verboselevel ( const Bridge::VerboseLevel  vl)
inline

Definition at line 84 of file builder_Integrator.h.

void Builder_Integrator::set_parameters ( const Parameters params)

Definition at line 40 of file builder_Integrator.cpp.

void Builder_Integrator::set_parameters ( const std::string  str_integrator_type,
const std::vector< int > &  Nstep,
const int  Nprec,
const double  lambda_Omelyan 
)

Definition at line 83 of file builder_Integrator.cpp.

void Builder_Integrator::tidyup ( )

Definition at line 206 of file builder_Integrator.cpp.

Member Data Documentation

const std::string Builder_Integrator::class_name = "Builder_Integrator"
static

Definition at line 42 of file builder_Integrator.h.

ActionList Builder_Integrator::m_actions
private

Definition at line 55 of file builder_Integrator.h.

std::vector<Director *> Builder_Integrator::m_director
private

Definition at line 56 of file builder_Integrator.h.

std::vector<Integrator *> Builder_Integrator::m_integs
private

Integrator to be constructed.

Definition at line 59 of file builder_Integrator.h.

double Builder_Integrator::m_lambda_Omelyan
private

Definition at line 51 of file builder_Integrator.h.

int Builder_Integrator::m_Nprec
private

precision parameter of exponentiation

Definition at line 50 of file builder_Integrator.h.

std::vector<int> Builder_Integrator::m_Nstep
private

Number of steps at each level.

Definition at line 48 of file builder_Integrator.h.

std::string Builder_Integrator::m_str_integrator_type
private

Definition at line 53 of file builder_Integrator.h.

Bridge::VerboseLevel Builder_Integrator::m_vl
protected

Definition at line 45 of file builder_Integrator.h.


The documentation for this class was generated from the following files: