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

Standard leapfrog integrator to compose MD integrator. More...

#include <integrator_Leapfrog.h>

Inheritance diagram for Integrator_Leapfrog:
Integrator

Public Member Functions

 Integrator_Leapfrog (Integrator *update_p, Integrator *update_U)
 constructor More...
 
 ~Integrator_Leapfrog ()
 destructor More...
 
void set_parameters (const Parameters &params)
 
void set_parameters (const int level, const int Nstep)
 
void set_parameter_level (const int level)
 
void set_parameter_Nstep (const int Nstep)
 
void set_parameter_Nsteps (const std::vector< int > &Nsteps)
 
void evolve (const double step_size, Field_G &iP, Field_G &U)
 
void invalidate_cache ()
 
- Public Member Functions inherited from Integrator
 Integrator ()
 
virtual ~Integrator ()
 
void set_parameter_verboselevel (const Bridge::VerboseLevel vl)
 

Static Public Attributes

static const std::string class_name = "Integrator_Leapfrog"
 

Private Attributes

int m_level
 
int m_Nstep
 
Integratorm_update_p
 
Integratorm_update_U
 

Additional Inherited Members

- Protected Attributes inherited from Integrator
Bridge::VerboseLevel m_vl
 

Detailed Description

Standard leapfrog integrator to compose MD integrator.

28 Dec 2011 H.Matsufuru YAML is implemented. [03 Mar 2013 Y.Namekawa]

Definition at line 31 of file integrator_Leapfrog.h.

Constructor & Destructor Documentation

Integrator_Leapfrog::Integrator_Leapfrog ( Integrator update_p,
Integrator update_U 
)
inline

constructor

Definition at line 46 of file integrator_Leapfrog.h.

Integrator_Leapfrog::~Integrator_Leapfrog ( )
inline

destructor

Definition at line 53 of file integrator_Leapfrog.h.

Member Function Documentation

void Integrator_Leapfrog::evolve ( const double  step_size,
Field_G iP,
Field_G U 
)
virtual

Implements Integrator.

Definition at line 89 of file integrator_Leapfrog.cpp.

void Integrator_Leapfrog::invalidate_cache ( )
inlinevirtual

Implements Integrator.

Definition at line 69 of file integrator_Leapfrog.h.

void Integrator_Leapfrog::set_parameter_level ( const int  level)

Definition at line 60 of file integrator_Leapfrog.cpp.

void Integrator_Leapfrog::set_parameter_Nstep ( const int  Nstep)
virtual

Reimplemented from Integrator.

Definition at line 67 of file integrator_Leapfrog.cpp.

void Integrator_Leapfrog::set_parameter_Nsteps ( const std::vector< int > &  Nsteps)
virtual

Reimplemented from Integrator.

Definition at line 74 of file integrator_Leapfrog.cpp.

void Integrator_Leapfrog::set_parameters ( const Parameters params)
virtual

Implements Integrator.

Definition at line 19 of file integrator_Leapfrog.cpp.

void Integrator_Leapfrog::set_parameters ( const int  level,
const int  Nstep 
)

Definition at line 43 of file integrator_Leapfrog.cpp.

Member Data Documentation

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

Definition at line 34 of file integrator_Leapfrog.h.

int Integrator_Leapfrog::m_level
private

Definition at line 37 of file integrator_Leapfrog.h.

int Integrator_Leapfrog::m_Nstep
private

Definition at line 38 of file integrator_Leapfrog.h.

Integrator* Integrator_Leapfrog::m_update_p
private

Definition at line 40 of file integrator_Leapfrog.h.

Integrator* Integrator_Leapfrog::m_update_U
private

Definition at line 41 of file integrator_Leapfrog.h.


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