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 483 by gezelter, Wed Apr 9 04:06:43 2003 UTC vs.
Revision 755 by mmeineke, Tue Sep 9 20:35:25 2003 UTC

# Line 3 | Line 3
3  
4   #include "Atom.hpp"
5   #include "SRI.hpp"
6 #include "Integrator.hpp"
6   #include "SimInfo.hpp"
7   #include "randomSPRNG.hpp"
8  
# Line 11 | Line 10 | class Thermo{ (public)
10  
11   public:
12    
13 <  Thermo( SimInfo* the_entry_plug );
13 >  Thermo( SimInfo* the_info );
14    ~Thermo();
15  
16    // note: all the following energies are in kcal/mol
# Line 21 | Line 20 | class Thermo{ (public)
20    double getTotalE(); // gets the total energy
21  
22    double getTemperature(); // gives the instant temp. in K
23 +
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
25 >  double getPressureX(); // gives the instant pressure in atm;
26 >  double getPressureY(); // gives the instant pressure in atm;
27 >  double getPressureZ(); // gives the instant pressure in atm;
28  
29 +  void   getPressureTensor(double press[3][3]); // gives the pressure
30 +                                                // tensor in
31 +                                                // amu*fs^-2*Ang^-1
32 +  double getVolume();   // gives the volume in Ang^3
33 +  double getEnthalpy(); // gives the enthalpy in kcal/mol
34 +
35    int getNDF();    // get the number of degrees of freedom in the system
36    int getNDFraw(); // get the number of raw degrees of freedom in the system
37                     // i.e. don't subtract constraints or system COM.
# Line 35 | Line 41 | class Thermo{ (public)
41    void getCOMVel(double vdrift[3]);
42  
43   private:
44 <  SimInfo* entry_plug;
44 >  SimInfo* info;
45    gaussianSPRNG *gaussStream;
46    
47   };

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines