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

Comparing trunk/OOPSE/libmdtools/RigidBody.hpp (file contents):
Revision 1187 by chrisfen, Sat May 22 18:16:18 2004 UTC vs.
Revision 1452 by tim, Mon Aug 23 15:11:36 2004 UTC

# Line 26 | Line 26 | class RigidBody : public StuntDouble { (public)
26   public:
27    
28    RigidBody();
29 +  //RigidBody(const RigidBody& rb);
30 +  
31    virtual ~RigidBody();
32  
33    void addAtom(Atom* at, AtomStamp* ats);
# Line 37 | Line 39 | class RigidBody : public StuntDouble { (public)
39    void setVel( double theV[3] );
40  
41    void getFrc( double theF[3] );
42 +  void setFrc(double theF[3] );
43    void addFrc( double theF[3] );
44    void zeroForces();
45    
# Line 60 | Line 63 | class RigidBody : public StuntDouble { (public)
63    virtual char* getType() { return rbName;}
64  
65    void getTrq( double theT[3] );
66 +  void setTrq(double theT[3]);
67    void addTrq( double theT[3] );
68  
69    void getI( double the_I[3][3] );
# Line 94 | Line 98 | class RigidBody : public StuntDouble { (public)
98    virtual void accept(BaseVisitor* v);
99  
100    vector<Atom*> getAtoms() { return myAtoms;}
101 <  
101 >  int getNumAtoms() {return myAtoms.size();}
102 >
103 >  void getAtomPos(double theP[3], int index);
104 >  void getAtomVel(double theV[3], int index);
105 >  void getAtomRefCoor(double pos[3], int index);
106   protected:
107  
108    double mass;     // the total mass

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines