89 |
|
|
90 |
|
if (integrableObject->isDirectional()) { |
91 |
|
|
92 |
< |
// get and convert the torque to body frame |
92 |
> |
//convert the torque to body frame |
93 |
> |
Tb = integrableObject->lab2Body(integrableObject->getTrq()); |
94 |
|
|
94 |
– |
Tb = integrableObject->getTrq(); |
95 |
– |
integrableObject->lab2Body(Tb); |
96 |
– |
|
95 |
|
// get the angular momentum, and propagate a half step |
96 |
|
|
97 |
|
ji = integrableObject->getJ(); |
182 |
|
|
183 |
|
// get and convert the torque to body frame |
184 |
|
|
185 |
< |
Tb = integrableObject->getTrq(); |
188 |
< |
integrableObject->lab2Body(Tb); |
185 |
> |
Tb = integrableObject->lab2Body(integrableObject->getTrq()); |
186 |
|
|
187 |
|
//for(j = 0; j < 3; j++) |
188 |
|
// ji[j] = oldJi_[3*i + j] + dt2 * (Tb[j] * OOPSEConstant::energyConvert - oldJi_[3*i+j]*chi); |