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

Comparing branches/new_design/OOPSE-3.0/src/brains/Stats.hpp (file contents):
Revision 1711 by tim, Thu Nov 4 19:48:22 2004 UTC vs.
Revision 1712 by tim, Thu Nov 4 20:55:01 2004 UTC

# Line 44 | Line 44 | class Stats{
44   class Stats{
45      public:
46          enum StatsIndex {
47 <            BEGININDEX = 0,        
47 >            BEGININDEX = 0,  //internal use        
48              TOTALENERGY = BEGININDEX,
49              TOTALPOTENTIAL,
50              TOTALKINETIC,
# Line 55 | Line 55 | class Stats{
55              ROTATIONALKINETIC,
56              VANDERWAALS,
57              ELECTROSTATIC,
58 <            OTHER,
58 >            OTHERPOTENTIAL,
59              BOND,
60              BEND,
61              DIHEDRAL,
62              IMPROPER,
63 <            ENDINDEX
63 >            ENDINDEX  //internal use
64          };
65  
66          const double& operator [](StatsIndex index) const {
# Line 71 | Line 71 | class Stats{
71              return data_[static_cast<int>(index)];
72          }
73          
74 <        static const std::string getTitle(StatsIndex index) const{
74 >        static std::string getTitle(StatsIndex index) {
75              return title_[static_cast<int>(index)];
76          }
77          

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines