OpenMD 3.1
Molecular Dynamics in the Open
Loading...
Searching...
No Matches
OpenMD::NPTsz Class Reference

A utility integrator (much like NPTxyz) but which keeps the relative scaling of x & y fixed. More...

#include <NPTsz.hpp>

+ Inheritance diagram for OpenMD::NPTsz:

Public Member Functions

 NPTsz (SimInfo *info)
 There is no known conserved quantity for the NPTsz integrator, but we still compute the equivalent quantity from a fully flexible constant pressure integrator.
 
- Public Member Functions inherited from OpenMD::NPTf
 NPTf (SimInfo *info)
 
- Public Member Functions inherited from OpenMD::NPT
 NPT (SimInfo *info)
 
int getMaxIterationNumber ()
 
void setMaxIterationNumber (int maxIter)
 
RealType getTauThermostat ()
 
void setTauThermostat (RealType tt)
 
RealType getTauBarostat ()
 
void setTauBarostat (RealType tb)
 
RealType getTargetTemp ()
 
void setTargetTemp (RealType tt)
 
RealType getTargetPressure ()
 
void setTargetPressure (RealType tp)
 
RealType getChiTolerance ()
 
void setChiTolerance (RealType tol)
 
RealType getEtaTolerance ()
 
void setEtaTolerance (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)
 

Additional Inherited Members

- Protected Member Functions inherited from OpenMD::NPT
virtual void step ()
 Computes an integration step from t to t+dt.
 
virtual void doUpdateSizes ()
 
virtual void resetIntegrator ()
 
virtual void resetEta ()
 
- Protected Member Functions inherited from OpenMD::VelocityVerletIntegrator
 VelocityVerletIntegrator (SimInfo *info)
 
- 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 ()
 
- Protected Attributes inherited from OpenMD::NPTf
Mat3x3d eta
 
- Protected Attributes inherited from OpenMD::NPT
RealType NkBT
 
RealType fkBT
 
RealType tt2
 
RealType tb2
 
RealType instaTemp
 
RealType instaPress
 
RealType instaVol
 
RealType targetTemp
 
RealType targetPressure
 
RealType tauThermostat
 
RealType tauBarostat
 
std::vector< Vector3doldPos
 
std::vector< Vector3doldVel
 
std::vector< Vector3doldJi
 
RealType etaTolerance
 
pair< RealType, RealType > thermostat
 
Mat3x3d press
 
int maxIterNum_
 
- 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

A utility integrator (much like NPTxyz) but which keeps the relative scaling of x & y fixed.

The z-axis can float separately from the x & y axes. There is no known conserved quantity for this integrator, but we still compute the equivalent quantity from a fully flexible constant pressure integrator.

Definition at line 59 of file NPTsz.hpp.

Constructor & Destructor Documentation

◆ NPTsz()

OpenMD::NPTsz::NPTsz ( SimInfo * info)

There is no known conserved quantity for the NPTsz integrator, but we still compute the equivalent quantity from a fully flexible constant pressure integrator.

Definition at line 62 of file NPTsz.cpp.


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