OpenMD 3.0
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}
 

Detailed Description

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

31 (5) 1695-1697

Todo
document

Definition at line 64 of file NVT.hpp.

Constructor & Destructor Documentation

◆ NVT()

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

Definition at line 53 of file NVT.cpp.

Member Function Documentation

◆ doUpdateSizes()

void OpenMD::NVT::doUpdateSizes ( )
protectedvirtual

Reimplemented from OpenMD::Integrator.

Definition at line 89 of file NVT.cpp.

◆ getChiTolerance()

RealType OpenMD::NVT::getChiTolerance ( )
inline

Definition at line 80 of file NVT.hpp.

◆ getMaxIterationNumber()

int OpenMD::NVT::getMaxIterationNumber ( )
inline

Definition at line 68 of file NVT.hpp.

◆ getTargetTemp()

RealType OpenMD::NVT::getTargetTemp ( )
inline

Definition at line 76 of file NVT.hpp.

◆ getTauThermostat()

RealType OpenMD::NVT::getTauThermostat ( )
inline

Definition at line 72 of file NVT.hpp.

◆ moveA()

void OpenMD::NVT::moveA ( )
protectedvirtual

Implements OpenMD::VelocityVerletIntegrator.

Definition at line 94 of file NVT.cpp.

◆ moveB()

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

Implements OpenMD::VelocityVerletIntegrator.

Definition at line 163 of file NVT.cpp.

◆ resetIntegrator()

void OpenMD::NVT::resetIntegrator ( )
protectedvirtual

Reimplemented from OpenMD::Integrator.

Definition at line 247 of file NVT.cpp.

◆ setChiTolerance()

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

Definition at line 82 of file NVT.hpp.

◆ setMaxIterationNumber()

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

Definition at line 70 of file NVT.hpp.

◆ setTargetTemp()

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

Definition at line 78 of file NVT.hpp.

◆ setTauThermostat()

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

Definition at line 74 of file NVT.hpp.


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