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

Comparing trunk/src/primitives/CutoffGroup.hpp (file contents):
Revision 507 by gezelter, Fri Apr 15 22:04:00 2005 UTC vs.
Revision 963 by tim, Wed May 17 21:51:42 2006 UTC

# Line 70 | Line 70 | namespace oopse {
70      }
71  
72      std::vector<Atom*> getAtoms() { return cutoffAtomList; }
73 <    double getMass() {
73 >    RealType getMass() {
74        std::vector<Atom *>::iterator i;
75        Atom * atom;
76 <      double mass;
76 >      RealType mass;
77  
78        if (!haveTotalMass) {
79          totalMass = 0;
# Line 93 | Line 93 | namespace oopse {
93        std::vector<Atom *>::iterator i;
94        Atom * atom;
95        Vector3d pos;
96 <      double mass;
96 >      RealType mass;
97  
98        com[0] = 0;
99        com[1] = 0;
# Line 129 | Line 129 | namespace oopse {
129  
130      std::vector<Atom *>cutoffAtomList;
131      bool haveTotalMass;
132 <    double totalMass;
132 >    RealType totalMass;
133      int globalIndex;
134    };
135  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines