--- trunk/OOPSE/libmdtools/Thermo.hpp 2003/09/09 20:35:25 755 +++ trunk/OOPSE/libmdtools/Thermo.hpp 2004/04/20 16:56:40 1127 @@ -30,7 +30,6 @@ class Thermo{ (public) // tensor in // amu*fs^-2*Ang^-1 double getVolume(); // gives the volume in Ang^3 - double getEnthalpy(); // gives the enthalpy in kcal/mol int getNDF(); // get the number of degrees of freedom in the system int getNDFraw(); // get the number of raw degrees of freedom in the system @@ -39,6 +38,8 @@ class Thermo{ (public) void velocitize(); // set the temperature to the target temp in SimInfo // NOTE: srand48 should be seeded before calling. void getCOMVel(double vdrift[3]); + void getCOM(double COM[3]); + void removeCOMdrift(); private: SimInfo* info;