Bridge++  Ver. 1.3.x
Integrator_Leapfrog Class Reference

#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 (int level, 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

Definition at line 41 of file integrator_Leapfrog.h.

Constructor & Destructor Documentation

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

constructor

Definition at line 56 of file integrator_Leapfrog.h.

Integrator_Leapfrog::~Integrator_Leapfrog ( )
inline

destructor

Definition at line 63 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 114 of file integrator_Leapfrog.cpp.

void Integrator_Leapfrog::invalidate_cache ( )
inlinevirtual

Implements Integrator.

Definition at line 79 of file integrator_Leapfrog.h.

void Integrator_Leapfrog::set_parameter_level ( const int  level)

Definition at line 85 of file integrator_Leapfrog.cpp.

void Integrator_Leapfrog::set_parameter_nstep ( const int  nstep)
virtual

Reimplemented from Integrator.

Definition at line 92 of file integrator_Leapfrog.cpp.

void Integrator_Leapfrog::set_parameter_nsteps ( const std::vector< int > &  nsteps)
virtual

Reimplemented from Integrator.

Definition at line 99 of file integrator_Leapfrog.cpp.

void Integrator_Leapfrog::set_parameters ( const Parameters params)
virtual

Implements Integrator.

Definition at line 44 of file integrator_Leapfrog.cpp.

void Integrator_Leapfrog::set_parameters ( int  level,
int  nstep 
)

Definition at line 68 of file integrator_Leapfrog.cpp.

Member Data Documentation

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

Definition at line 44 of file integrator_Leapfrog.h.

int Integrator_Leapfrog::m_level
private

Definition at line 47 of file integrator_Leapfrog.h.

int Integrator_Leapfrog::m_Nstep
private

Definition at line 48 of file integrator_Leapfrog.h.

Integrator* Integrator_Leapfrog::m_update_p
private

Definition at line 50 of file integrator_Leapfrog.h.

Integrator* Integrator_Leapfrog::m_update_u
private

Definition at line 51 of file integrator_Leapfrog.h.


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