96 |
|
*/ |
97 |
|
virtual Mat3x3d getI(); |
98 |
|
|
99 |
– |
|
100 |
– |
/** Sets the internal unit frame of this stuntdouble by three euler angles */ |
101 |
– |
void setElectroFrameFromEuler(RealType phi, RealType theta, RealType psi); |
102 |
– |
|
99 |
|
/** |
100 |
|
* Returns the gradient of this stuntdouble |
101 |
< |
* @return the inertia tensor of this stuntdouble |
106 |
< |
* @see #setI |
101 |
> |
* @return the gradient of this stuntdouble |
102 |
|
*/ |
103 |
|
virtual std::vector<RealType> getGrad(); |
104 |
|
|
112 |
|
/** Converts Atomic forces and torques to total forces and torques */ |
113 |
|
void calcForcesAndTorques(); |
114 |
|
|
115 |
< |
/** Converts Atomic forces and torques to total forces and torques and computes the rigid body contribution to the virial. Returns the rigid body contribution to the virial as a 3x3 matrix. */ |
115 |
> |
/** |
116 |
> |
Converts Atomic forces and torques to total forces and torques |
117 |
> |
and computes the rigid body contribution to the virial. |
118 |
> |
Returns the rigid body contribution to the virial as a 3x3 |
119 |
> |
matrix. |
120 |
> |
*/ |
121 |
|
Mat3x3d calcForcesAndTorquesAndVirial(); |
122 |
< |
|
122 |
> |
|
123 |
|
/** update the positions of atoms belong to this rigidbody */ |
124 |
|
void updateAtoms(); |
125 |
|
|
150 |
|
/** |
151 |
|
* Returns the atoms of this rigid body |
152 |
|
* @return the atoms of this rigid body in a vector |
153 |
< |
* @deprecate |
153 |
> |
* @deprecated |
154 |
|
*/ |
155 |
|
std::vector<Atom*> getAtoms() { |
156 |
|
return atoms_; |