OpenMD 3.2
Molecular Dynamics in the Open
Loading...
Searching...
No Matches
OpenMD::VelocityVerletIntegrator Class Referenceabstract
Inheritance diagram for OpenMD::VelocityVerletIntegrator:

Protected Member Functions

 VelocityVerletIntegrator (SimInfo *info)
virtual void step ()
 Computes an integration step from t to t+dt.
virtual void moveA ()=0
virtual void moveB ()=0
Protected Member Functions inherited from OpenMD::Integrator
 Integrator (SimInfo *info)
virtual void initialize ()
virtual void preStep ()
virtual void calcForce ()
virtual void postStep ()
virtual void finalize ()
virtual void resetIntegrator ()
virtual void doUpdateSizes ()
void saveConservedQuantity ()

Additional Inherited Members

Public Member Functions inherited from OpenMD::Integrator
virtual ~Integrator ()
 Default Destructor.
void integrate ()
void updateSizes ()
void setVelocitizer (std::unique_ptr< Velocitizer > velocitizer)
void setFluctuatingChargePropagator (FluctuatingChargePropagator *prop)
void setRotationAlgorithm (RotationAlgorithm *algo)
void setRNEMD (std::unique_ptr< RNEMD::RNEMD > rnemd)
Protected Attributes inherited from OpenMD::Integrator
RealType dt
RealType dt2
RealType runTime
RealType sampleTime
RealType statusTime
RealType thermalTime
RealType resetTime
RealType RNEMD_exchangeTime
RealType currSample
RealType currStatus
RealType currThermal
RealType currReset
RealType currRNEMD
SimInfoinfo_ {nullptr}
GlobalssimParams {nullptr}
ForceManagerforceMan_ {nullptr}
RotationAlgorithmrotAlgo_ {nullptr}
FluctuatingChargePropagatorflucQ_ {nullptr}
Rattlerattle_ {nullptr}
std::unique_ptr< Velocitizervelocitizer_ {nullptr}
std::unique_ptr< RNEMD::RNEMDrnemd_ {nullptr}
bool needPotential {false}
bool needVirial {false}
bool needReset {false}
bool needVelocityScaling {false}
bool useRNEMD {false}
RealType targetScalingTemp
Statsstats {nullptr}
DumpWriterdumpWriter {nullptr}
StatWriterstatWriter {nullptr}
Thermo thermo
Snapshotsnap {nullptr}
ProgressBarPtr progressBar {nullptr}
const RealType dtEps = 1.0e-4

Detailed Description

Definition at line 55 of file VelocityVerletIntegrator.hpp.

Constructor & Destructor Documentation

◆ VelocityVerletIntegrator()

OpenMD::VelocityVerletIntegrator::VelocityVerletIntegrator ( SimInfo * info)
protected

Definition at line 51 of file VelocityVerletIntegrator.cpp.

Member Function Documentation

◆ step()

void OpenMD::VelocityVerletIntegrator::step ( )
protectedvirtual

Computes an integration step from t to t+dt.

This function must be implemented by any subclasses, and computes a single integration step from the current time (t) to (t+dt).

Implements OpenMD::Integrator.

Reimplemented in OpenMD::NPT.

Definition at line 54 of file VelocityVerletIntegrator.cpp.

References step().

Referenced by OpenMD::NPT::step(), and step().


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