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 |
|
|
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] ); |
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 |