Bridge++  Ver. 2.0.2
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 (const ActionList &action_list, std::vector< Director * > director, const Parameters &params)
 
 Builder_Integrator (const ActionList &action_list, const Parameters &params)
 
 ~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)
 
void get_parameters (Parameters &params) const
 
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() [1/4]

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() [2/4]

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

Definition at line 40 of file builder_Integrator.cpp.

◆ Builder_Integrator() [3/4]

Builder_Integrator::Builder_Integrator ( const ActionList action_list,
const Parameters params 
)

Definition at line 60 of file builder_Integrator.cpp.

◆ ~Builder_Integrator()

Builder_Integrator::~Builder_Integrator ( )
inline

destructor

Definition at line 74 of file builder_Integrator.h.

◆ Builder_Integrator() [4/4]

Builder_Integrator::Builder_Integrator ( const Builder_Integrator )
private

Member Function Documentation

◆ build()

Integrator * Builder_Integrator::build ( )

Definition at line 174 of file builder_Integrator.cpp.

◆ build_leapfrog()

Integrator * Builder_Integrator::build_leapfrog ( )

Definition at line 193 of file builder_Integrator.cpp.

◆ build_omelyan()

Integrator * Builder_Integrator::build_omelyan ( )

Definition at line 227 of file builder_Integrator.cpp.

◆ get_parameters()

void Builder_Integrator::get_parameters ( Parameters params) const

Definition at line 123 of file builder_Integrator.cpp.

◆ operator=()

Builder_Integrator& Builder_Integrator::operator= ( const Builder_Integrator )
private

◆ set_parameter_verboselevel()

void Builder_Integrator::set_parameter_verboselevel ( const Bridge::VerboseLevel  vl)
inline

Definition at line 91 of file builder_Integrator.h.

◆ set_parameters() [1/2]

void Builder_Integrator::set_parameters ( const Parameters params)

Definition at line 79 of file builder_Integrator.cpp.

◆ set_parameters() [2/2]

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 138 of file builder_Integrator.cpp.

◆ tidyup()

void Builder_Integrator::tidyup ( )

Definition at line 261 of file builder_Integrator.cpp.

Member Data Documentation

◆ class_name

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

Definition at line 42 of file builder_Integrator.h.

◆ m_actions

ActionList Builder_Integrator::m_actions
private

Definition at line 55 of file builder_Integrator.h.

◆ m_director

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

Definition at line 56 of file builder_Integrator.h.

◆ m_integs

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

Integrator to be constructed.

Definition at line 59 of file builder_Integrator.h.

◆ m_lambda_Omelyan

double Builder_Integrator::m_lambda_Omelyan
private

Definition at line 51 of file builder_Integrator.h.

◆ m_Nprec

int Builder_Integrator::m_Nprec
private

precision parameter of exponentiation

Definition at line 50 of file builder_Integrator.h.

◆ m_Nstep

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

Number of steps at each level.

Definition at line 48 of file builder_Integrator.h.

◆ m_str_integrator_type

std::string Builder_Integrator::m_str_integrator_type
private

Definition at line 53 of file builder_Integrator.h.

◆ m_vl

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: