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 1725 by tim, Wed Nov 10 22:01:06 2004 UTC vs.
Revision 1804 by tim, Tue Nov 30 19:58:25 2004 UTC

# Line 2 | Line 2
2   #define __THERMO_H__
3  
4   #include "primitives/Atom.hpp"
5 #include "primitives/SRI.hpp"
5   #include "brains/SimInfo.hpp"
6   #include "math/randomSPRNG.hpp"
7  
# Line 10 | Line 9 | class Thermo{ (public)
9  
10   class Thermo{
11  
12 < public:
14 <  
15 <  Thermo( SimInfo* the_info );
16 <  ~Thermo();
12 >    public:
13  
14 <  // note: all the following energies are in kcal/mol
14 >        Thermo( SimInfo* info) : info_(info) {}
15 >        ~Thermo();
16  
17 <  double getKinetic(); // the total kinetic energy
21 <  double getPotential(); // the total potential energy
22 <  double getTotalE(); // gets the total energy
17 >        // note: all the following energies are in kcal/mol
18  
19 <  double getTemperature(); // gives the instant temp. in K
19 >        double getKinetic(); // the total kinetic energy
20 >        double getPotential(); // the total potential energy
21 >        double getTotalE(); // gets the total energy
22  
23 <  double getPressure(); // gives the instant pressure in atm;
27 <  double getPressureX(); // gives the instant pressure in atm;
28 <  double getPressureY(); // gives the instant pressure in atm;
29 <  double getPressureZ(); // gives the instant pressure in atm;
23 >        double getTemperature(); // gives the instant temp. in K
24  
25 <  void   getPressureTensor(double press[3][3]); // gives the pressure
32 <                                                // tensor in
33 <                                                // amu*fs^-2*Ang^-1
34 <  double getVolume();   // gives the volume in Ang^3
25 >        double getPressure(); // gives the instant pressure in atm;
26  
27 < private:
28 <  SimInfo* info;
29 <  gaussianSPRNG *gaussStream;
27 >        void   getPressureTensor(Mat3x3d pressureTessor); // gives the pressure  tensor in amu*fs^-2*Ang^-1
28 >        double getVolume();   // gives the volume in Ang^3
29 >
30 >    private:
31 >        SimInfo* info_;
32   };
33  
34   } //end namespace oopse

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines