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

Comparing trunk/OOPSE-2.0/test/brains/RigidBody.hpp (file contents):
Revision 1640 by tim, Sat Oct 23 23:09:46 2004 UTC vs.
Revision 1645 by tim, Tue Oct 26 17:28:53 2004 UTC

# Line 62 | Line 62 | namespace oopse{
62  
63              virtual void accept(BaseVisitor* v);
64  
65 +            void addAtom(Atom* atom);
66 +
67 +            /** calculate the reference coordinates */
68              void calcRefCoords();
69  
70              /** Convert Atomic forces and torques to total forces and torques */
# Line 74 | Line 77 | namespace oopse{
77               * Returns the atoms of this rigid body
78               * @return the atoms of this rigid body in a vector
79               */          
80 <            vector<Atom*> getAtoms() { return atomLists_;}
80 >            vector<Atom*> getAtoms() { return atoms_;}
81  
82              /**
83               * Returns the number of atoms in this rigid body
# Line 95 | Line 98 | namespace oopse{
98          private:
99              
100              Mat3x3d inertiaTensor_;      
101 <            vector<Atom*> atomLists_;
101 >            vector<Atom*> atoms_;
102              vector<Vector3d> refCoords;
103      };
104  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines