ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/libmdtools/ConstraintElement.hpp
(Generate patch)

Comparing trunk/OOPSE/libmdtools/ConstraintElement.hpp (file contents):
Revision 1283 by tim, Wed Jun 9 16:16:33 2004 UTC vs.
Revision 1284 by tim, Mon Jun 21 18:52:21 2004 UTC

# Line 182 | Line 182 | class ConstraintRigidBody : public ConstraintElement{
182      void getOldAtomPos(double pos[3]) {oldRb->getAtomPos(pos, consAtomIndex);}
183      void getCurAtomPos(double pos[3]) {((RigidBody*)refSd)->getAtomPos(pos, consAtomIndex);}
184  
185 +    void getOldAtomVel(double vel[3]) {oldRb->getAtomVel(vel, consAtomIndex);};
186 +    void getCurAtomVel(double vel[3]) {((RigidBody*)refSd)->getAtomVel(vel, consAtomIndex);};
187 +
188      void getRefCoor(double pos[3]) {return ((RigidBody*)refSd)->getAtomRefCoor(pos, consAtomIndex);}
189      RigidBody* getRigidBody() { return dynamic_cast<RigidBody*>(refSd);}
190  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines