Bridge++  Ver. 1.2.x
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Builder_Integrator Class Reference

#include <builder_Integrator.h>

Public Member Functions

 Builder_Integrator (std::valarray< Action * > action, std::valarray< Director * > director)
 constructor with action and director. More...
 
 Builder_Integrator (std::valarray< Action * > action)
 constructor when no director is necessary. More...
 
 ~Builder_Integrator ()
 destructor More...
 
void set_parameters (const Parameters &params)
 
void set_parameters (std::string str_integrator_type, double Estep, int Nlevel, const std::valarray< int > &Naction, const std::valarray< 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 Attributes

double m_Estep
 step size of each molecular dynamical evolution More...
 
int m_Nprec
 precision parameter of exponentiation More...
 
double m_lambda_Omelyan
 
std::string m_str_integrator_type
 
std::valarray< Action * > m_action
 
std::valarray< Director * > m_director
 
int m_Nlevel
 Number of levels. More...
 
std::valarray< int > m_Naction
 Number of actions at each level. More...
 
std::valarray< int > m_Nstep
 Number of steps at each level. More...
 
std::valarray< Integrator * > m_integs
 Integrator to be constructed. More...
 

Detailed Description

Definition at line 48 of file builder_Integrator.h.

Constructor & Destructor Documentation

Builder_Integrator::Builder_Integrator ( std::valarray< Action * >  action,
std::valarray< Director * >  director 
)
inline

constructor with action and director.

Definition at line 70 of file builder_Integrator.h.

Builder_Integrator::Builder_Integrator ( std::valarray< Action * >  action)
inline

constructor when no director is necessary.

Definition at line 88 of file builder_Integrator.h.

Builder_Integrator::~Builder_Integrator ( )
inline

destructor

Definition at line 101 of file builder_Integrator.h.

Member Function Documentation

Integrator * Builder_Integrator::build ( )

Definition at line 142 of file builder_Integrator.cpp.

Integrator * Builder_Integrator::build_leapfrog ( )

Definition at line 161 of file builder_Integrator.cpp.

Integrator * Builder_Integrator::build_omelyan ( )

Definition at line 199 of file builder_Integrator.cpp.

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

Definition at line 114 of file builder_Integrator.h.

void Builder_Integrator::set_parameters ( const Parameters params)

Definition at line 52 of file builder_Integrator.cpp.

void Builder_Integrator::set_parameters ( std::string  str_integrator_type,
double  Estep,
int  Nlevel,
const std::valarray< int > &  Naction,
const std::valarray< int > &  Nstep,
const int  Nprec,
const double  lambda_Omelyan 
)
void Builder_Integrator::tidyup ( )

Definition at line 237 of file builder_Integrator.cpp.

Member Data Documentation

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

Definition at line 51 of file builder_Integrator.h.

std::valarray<Action *> Builder_Integrator::m_action
private

Definition at line 61 of file builder_Integrator.h.

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

Definition at line 62 of file builder_Integrator.h.

double Builder_Integrator::m_Estep
private

step size of each molecular dynamical evolution

Definition at line 57 of file builder_Integrator.h.

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

Integrator to be constructed.

Definition at line 66 of file builder_Integrator.h.

double Builder_Integrator::m_lambda_Omelyan
private

Definition at line 59 of file builder_Integrator.h.

std::valarray<int> Builder_Integrator::m_Naction
private

Number of actions at each level.

Definition at line 64 of file builder_Integrator.h.

int Builder_Integrator::m_Nlevel
private

Number of levels.

Definition at line 63 of file builder_Integrator.h.

int Builder_Integrator::m_Nprec
private

precision parameter of exponentiation

Definition at line 58 of file builder_Integrator.h.

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

Number of steps at each level.

Definition at line 65 of file builder_Integrator.h.

std::string Builder_Integrator::m_str_integrator_type
private

Definition at line 60 of file builder_Integrator.h.

Bridge::VerboseLevel Builder_Integrator::m_vl
protected

Definition at line 54 of file builder_Integrator.h.


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