ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/libmdtools/Thermo.hpp
(Generate patch)

Comparing trunk/OOPSE/libmdtools/Thermo.hpp (file contents):
Revision 401 by chuckv, Tue Mar 25 22:54:16 2003 UTC vs.
Revision 483 by gezelter, Wed Apr 9 04:06:43 2003 UTC

# Line 21 | Line 21 | class Thermo{ (public)
21    double getTotalE(); // gets the total energy
22  
23    double getTemperature(); // gives the instant temp. in K
24 <  double getPressure(); // gives the instant pressure in Pa
24 >  double getPressure(); // gives the instant pressure in atm;
25 >  void getPressureTensor(double pressure_tensor[9]); // gives the pressure
26 >                                                     // tensor in
27 >                                                     // amu*fs^-2*Ang^-1
28 >
29 >  int getNDF();    // get the number of degrees of freedom in the system
30 >  int getNDFraw(); // get the number of raw degrees of freedom in the system
31 >                   // i.e. don't subtract constraints or system COM.
32    
33    void velocitize(); // set the temperature to the target temp in SimInfo
34                       // NOTE: srand48 should be seeded before calling.
35 <  double* getCOMVel();
35 >  void getCOMVel(double vdrift[3]);
36  
37   private:
38    SimInfo* entry_plug;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines