OpenMD 3.2
Molecular Dynamics in the Open
Loading...
Searching...
No Matches
OpenMD::NVT Class Reference

Basic thermostating via Hoover, Phys.Rev.A, 1985, Vol. More...

#include "integrators/NVT.hpp"

Inheritance diagram for OpenMD::NVT:

Public Member Functions

 NVT (SimInfo *info)
int getMaxIterationNumber ()
void setMaxIterationNumber (int maxIter)
RealType getTauThermostat ()
void setTauThermostat (RealType tt)
RealType getTargetTemp ()
void setTargetTemp (RealType tt)
RealType getChiTolerance ()
void setChiTolerance (RealType tol)
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 Member Functions

virtual void moveA ()
virtual void moveB ()
virtual void doUpdateSizes ()
virtual void resetIntegrator ()
Protected Member Functions inherited from OpenMD::VelocityVerletIntegrator
 VelocityVerletIntegrator (SimInfo *info)
virtual void step ()
 Computes an integration step from t to t+dt.
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 ()
void saveConservedQuantity ()

Additional Inherited Members

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

Basic thermostating via Hoover, Phys.Rev.A, 1985, Vol.

31 (5) 1695-1697

Todo
document

Definition at line 67 of file NVT.hpp.

Constructor & Destructor Documentation

◆ NVT()

OpenMD::NVT::NVT ( SimInfo * info)

Definition at line 56 of file NVT.cpp.

Member Function Documentation

◆ doUpdateSizes()

void OpenMD::NVT::doUpdateSizes ( )
protectedvirtual

Reimplemented from OpenMD::Integrator.

Definition at line 92 of file NVT.cpp.

◆ getChiTolerance()

RealType OpenMD::NVT::getChiTolerance ( )
inline

Definition at line 83 of file NVT.hpp.

◆ getMaxIterationNumber()

int OpenMD::NVT::getMaxIterationNumber ( )
inline

Definition at line 71 of file NVT.hpp.

◆ getTargetTemp()

RealType OpenMD::NVT::getTargetTemp ( )
inline

Definition at line 79 of file NVT.hpp.

◆ getTauThermostat()

RealType OpenMD::NVT::getTauThermostat ( )
inline

Definition at line 75 of file NVT.hpp.

◆ moveA()

void OpenMD::NVT::moveA ( )
protectedvirtual

Implements OpenMD::VelocityVerletIntegrator.

Definition at line 97 of file NVT.cpp.

◆ moveB()

void OpenMD::NVT::moveB ( void )
protectedvirtual

Implements OpenMD::VelocityVerletIntegrator.

Definition at line 166 of file NVT.cpp.

◆ resetIntegrator()

void OpenMD::NVT::resetIntegrator ( )
protectedvirtual

Reimplemented from OpenMD::Integrator.

Definition at line 250 of file NVT.cpp.

◆ setChiTolerance()

void OpenMD::NVT::setChiTolerance ( RealType tol)
inline

Definition at line 85 of file NVT.hpp.

◆ setMaxIterationNumber()

void OpenMD::NVT::setMaxIterationNumber ( int maxIter)
inline

Definition at line 73 of file NVT.hpp.

◆ setTargetTemp()

void OpenMD::NVT::setTargetTemp ( RealType tt)
inline

Definition at line 81 of file NVT.hpp.

◆ setTauThermostat()

void OpenMD::NVT::setTauThermostat ( RealType tt)
inline

Definition at line 77 of file NVT.hpp.


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