62 int getMaxIterationNumber() {
return maxIterNum_; }
64 void setMaxIterationNumber(
int maxIter) { maxIterNum_ = maxIter; }
65 RealType getTauThermostat() {
return tauThermostat; }
67 void setTauThermostat(RealType tt) { tauThermostat = tt; }
69 RealType getTauBarostat() {
return tauBarostat; }
70 void setTauBarostat(RealType tb) { tauBarostat = tb; }
72 RealType getTargetTemp() {
return targetTemp; }
74 void setTargetTemp(RealType tt) { targetTemp = tt; }
76 RealType getTargetPressure() {
return targetTemp; }
78 void setTargetPressure(RealType tp) { targetPressure = tp; }
80 RealType getChiTolerance() {
return chiTolerance; }
82 void setChiTolerance(RealType tol) { chiTolerance = tol; }
84 RealType getEtaTolerance() {
return etaTolerance; }
86 void setEtaTolerance(RealType tol) { etaTolerance = tol; }
94 virtual void doUpdateSizes();
96 virtual void resetIntegrator();
98 virtual void resetEta();
114 RealType targetPressure;
115 RealType tauThermostat;
116 RealType tauBarostat;
118 std::vector<Vector3d> oldPos;
119 std::vector<Vector3d> oldVel;
120 std::vector<Vector3d> oldJi;
122 RealType etaTolerance;
124 pair<RealType, RealType> thermostat;
128 virtual void moveA();
129 virtual void moveB();
133 virtual void getVelScaleB(
Vector3d& sc,
int index) = 0;
138 virtual void calcVelScale() = 0;
140 virtual bool etaConverged() = 0;
142 virtual void evolveEtaA() = 0;
144 virtual void evolveEtaB() = 0;
146 virtual void scaleSimBox() = 0;
148 virtual RealType calcConservedQuantity() = 0;
150 virtual void loadEta() = 0;
151 virtual void saveEta() = 0;
152 RealType chiTolerance;