ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/brains/Stats.hpp
(Generate patch)

Comparing trunk/src/brains/Stats.hpp (file contents):
Revision 681 by tim, Mon Oct 17 23:13:44 2005 UTC vs.
Revision 963 by tim, Wed May 17 21:51:42 2006 UTC

# Line 90 | Line 90 | namespace oopse {
90      };
91  
92      Stats();
93 <    const double& operator [](int index) const {
93 >    const RealType& operator [](int index) const {
94        assert(index >=0 && index < ENDINDEX);
95        return data_[index];
96      }
97  
98 <    double& operator [](int index){
98 >    RealType& operator [](int index){
99        assert(index >=0 && index < ENDINDEX);            
100        return data_[index];
101      }
# Line 124 | Line 124 | namespace oopse {
124    private:
125      static void init();
126      static bool isInit_;
127 <    double data_[ENDINDEX - BEGININDEX];
127 >    RealType data_[ENDINDEX - BEGININDEX];
128      static std::string title_[ENDINDEX - BEGININDEX];
129      static std::string units_[ENDINDEX - BEGININDEX];
130      Mat3x3d tau_;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines