ProtoMol - an object-oriented component based framework for Molecular Dynamics simulations.

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

ProtoMol::LeapfrogIntegrator Class Reference

#include <LeapfrogIntegrator.h>

Inheritance diagram for ProtoMol::LeapfrogIntegrator:

ProtoMol::STSIntegrator ProtoMol::StandardIntegrator ProtoMol::Integrator ProtoMol::Makeable List of all members.

Public Member Functions

 LeapfrogIntegrator ()
 LeapfrogIntegrator (Real timestep, ForceGroup *overloadedForces)
 ~LeapfrogIntegrator ()
virtual std::string getIdNoAlias () const
virtual unsigned int getParameterSize () const
virtual void initialize (GenericTopology *topo, Vector3DBlock *positions, Vector3DBlock *velocities, ScalarStructure *energies)
virtual void run (int numTimesteps)

Static Public Attributes

const std::string keyword

Private Member Functions

void doKickdoDrift ()
void doHalfKickdoDrift ()
virtual STSIntegratordoMake (std::string &errMsg, const std::vector< Value > &values, ForceGroup *fg) const

Constructor & Destructor Documentation

ProtoMol::LeapfrogIntegrator::LeapfrogIntegrator  ) 
 

ProtoMol::LeapfrogIntegrator::LeapfrogIntegrator Real  timestep,
ForceGroup overloadedForces
 

ProtoMol::LeapfrogIntegrator::~LeapfrogIntegrator  ) 
 


Member Function Documentation

void ProtoMol::LeapfrogIntegrator::doHalfKickdoDrift  )  [private]
 

void ProtoMol::LeapfrogIntegrator::doKickdoDrift  )  [private]
 

virtual STSIntegrator* ProtoMol::LeapfrogIntegrator::doMake std::string &  errMsg,
const std::vector< Value > &  values,
ForceGroup fg
const [private, virtual]
 

Implements ProtoMol::STSIntegrator.

virtual std::string ProtoMol::LeapfrogIntegrator::getIdNoAlias  )  const [inline, virtual]
 

Implements ProtoMol::Makeable.

virtual unsigned int ProtoMol::LeapfrogIntegrator::getParameterSize  )  const [inline, virtual]
 

number of parameters

Implements ProtoMol::Makeable.

void ProtoMol::LeapfrogIntegrator::initialize GenericTopology topo,
Vector3DBlock positions,
Vector3DBlock velocities,
ScalarStructure energies
[virtual]
 

Set the integrator up. This method can be called at any time, and should perform any starting force evaluations the integrator needs in order to run correctly. The simulation data should be kept in the given structures.

Reimplemented from ProtoMol::STSIntegrator.

void ProtoMol::LeapfrogIntegrator::run int  numTimesteps  )  [virtual]
 

Run the integrator for the certain number of timesteps. It can be assumed that the topology and forces have not changed since the last time the integrator was initialized.

Reimplemented from ProtoMol::StandardIntegrator.


Member Data Documentation

const string ProtoMol::LeapfrogIntegrator::keyword [static]
 


The documentation for this class was generated from the following files: Last update: . GNU GENERAL PUBLIC LICENSE, copyrighted by the University of Notre Dame and the University of Bergen, Norway.