14 |
|
virtual ~ExtendedSystem() {} |
15 |
|
|
16 |
|
void setQmass(double q) {qmass = q;} |
17 |
+ |
void setTauRelax(double tr) {tauRelax = tr;} |
18 |
|
void setTargetTemp(double tt) {targetTemp = tt;} |
19 |
|
void setTargetPressure(double tp) {targetPressure = tp;} |
20 |
|
|
21 |
< |
void NoseHooverNVT(double dt); |
22 |
< |
void NoseHooverAndersonNPT(double dt); |
23 |
< |
void AffineTransform(double scale); |
21 |
> |
void NoseHooverNVT(double dt, double ke); |
22 |
> |
void NoseHooverAndersonNPT(double dt, double ke, double p_mol); |
23 |
> |
void AffineTransform(double oldBox[3], double newBox[3]); |
24 |
|
|
25 |
|
protected: |
26 |
|
|
27 |
+ |
SimInfo* entry_plug; |
28 |
+ |
|
29 |
+ |
// |
30 |
+ |
int nAtoms; |
31 |
+ |
int nMols; |
32 |
+ |
int nOriented; |
33 |
+ |
int ndf; |
34 |
+ |
|
35 |
+ |
Molecule* molecules; |
36 |
+ |
Atom** atoms; |
37 |
+ |
|
38 |
+ |
// zeta and epsilonDot are propagated |
39 |
|
double zeta; |
40 |
+ |
double epsilonDot; |
41 |
+ |
|
42 |
+ |
// qmass, tauRelax, targetTemp, and targetPressure are parameters that |
43 |
+ |
// must be set |
44 |
|
double qmass; |
45 |
|
double targetTemp; |
46 |
|
double targetPressure; |
47 |
< |
double epsilonScale; |
31 |
< |
double epsilonDot; |
47 |
> |
double tauRelax; |
48 |
|
|
49 |
|
}; |
50 |
+ |
#endif |