ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/branches/new_design/OOPSE-2.0/src/brains/Thermo.hpp
(Generate patch)

Comparing branches/new_design/OOPSE-2.0/src/brains/Thermo.hpp (file contents):
Revision 1683, Thu Oct 28 22:34:02 2004 UTC vs.
Revision 1725 by tim, Wed Nov 10 22:01:06 2004 UTC

# Line 6 | Line 6 | class Thermo{
6   #include "brains/SimInfo.hpp"
7   #include "math/randomSPRNG.hpp"
8  
9 + namespace oopse {
10 +
11   class Thermo{
12  
13   public:
# Line 31 | Line 33 | class Thermo{ (public)
33                                                  // amu*fs^-2*Ang^-1
34    double getVolume();   // gives the volume in Ang^3
35  
34  int getNDF();    // get the number of degrees of freedom in the system
35  int getNDFraw(); // get the number of raw degrees of freedom in the system
36                   // i.e. don't subtract constraints or system COM.
37  
38  void velocitize(); // set the temperature to the target temp in SimInfo
39                     // NOTE: srand48 should be seeded before calling.
40  void getCOMVel(double vdrift[3]);
41  void getCOM(double COM[3]);
42  void removeCOMdrift();
43
36   private:
37    SimInfo* info;
38    gaussianSPRNG *gaussStream;
39   };
40 +
41 + } //end namespace oopse
42   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines