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

Comparing trunk/OOPSE-2.0/src/brains/Stats.hpp (file contents):
Revision 2204 by gezelter, Fri Apr 15 22:04:00 2005 UTC vs.
Revision 2380 by tim, Mon Oct 17 23:13:44 2005 UTC

# Line 51 | Line 51
51   #define BRAINS_STATS_HPP
52  
53   #include <string>
54 + #include <map>
55  
56   #include "math/SquareMatrix3.hpp"
57   namespace oopse {
# Line 82 | Line 83 | namespace oopse {
83        IMPROPER_POTENTIAL,
84        VRAW,
85        VHARM,
86 +      PRESSURE_TENSOR_X,
87 +      PRESSURE_TENSOR_Y,
88 +      PRESSURE_TENSOR_Z,  
89        ENDINDEX  //internal use
90      };
91  
# Line 113 | Line 117 | namespace oopse {
117      void setTau(const Mat3x3d& tau) {
118        tau_ = tau;
119      }
120 <        
120 >
121 >    typedef std::map<std::string, Stats::StatsIndex> StatsMapType;
122 >    static  StatsMapType statsMap;
123 >  
124    private:
125      static void init();
126      static bool isInit_;
# Line 123 | Line 130 | namespace oopse {
130      Mat3x3d tau_;
131    };
132  
133 +
134 +
135   } //end namespace oopse
136   #endif //BRAINS_STATS_HPP

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines