| 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 */ |
| 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 |
| 98 |
|
private: |
| 99 |
|
|
| 100 |
|
Mat3x3d inertiaTensor_; |
| 101 |
< |
vector<Atom*> atomLists_; |
| 101 |
> |
vector<Atom*> atoms_; |
| 102 |
|
vector<Vector3d> refCoords; |
| 103 |
|
}; |
| 104 |
|
|