5 |
|
#include "SRI.hpp" |
6 |
|
#include "SimInfo.hpp" |
7 |
|
#include "randomSPRNG.hpp" |
8 |
< |
|
8 |
> |
#include "ConstraintIterator.hpp" |
9 |
|
class Thermo{ |
10 |
|
|
11 |
|
public: |
18 |
|
double getKinetic(); // the total kinetic energy |
19 |
|
double getPotential(); // the total potential energy |
20 |
|
double getTotalE(); // gets the total energy |
21 |
+ |
double getConsEnergy(); //get contribution to energy from constraint |
22 |
|
|
23 |
|
double getTemperature(); // gives the instant temp. in K |
24 |
|
|
41 |
|
void getCOMVel(double vdrift[3]); |
42 |
|
void getCOM(double COM[3]); |
43 |
|
void removeCOMdrift(); |
44 |
+ |
void removeAngularMomentum(); |
45 |
|
|
46 |
|
private: |
47 |
|
SimInfo* info; |
48 |
|
gaussianSPRNG *gaussStream; |
49 |
< |
|
49 |
> |
ConstraintPairIterator* cpIter; |
50 |
|
}; |
51 |
|
#endif |