63 |
|
|
64 |
|
if (nLinearAxis > 1) { |
65 |
|
sprintf( painCave.errMsg, |
66 |
< |
"Directional Atom error.\n" |
66 |
> |
"Directional Atom warning.\n" |
67 |
|
"\tOOPSE found more than one axis in this directional atom with a vanishing \n" |
68 |
|
"\tmoment of inertia."); |
69 |
< |
painCave.isFatal = 1; |
69 |
> |
painCave.isFatal = 0; |
70 |
|
simError(); |
71 |
|
} |
72 |
|
|
148 |
|
|
149 |
|
for (int j = 0; j < 3; j++ ) { |
150 |
|
|
151 |
< |
grad[3] += torque[j]*ephi[j]; |
152 |
< |
grad[4] += torque[j]*etheta[j]; |
153 |
< |
grad[5] += torque[j]*epsi[j]; |
151 |
> |
grad[3] -= torque[j]*ephi[j]; |
152 |
> |
grad[4] -= torque[j]*etheta[j]; |
153 |
> |
grad[5] -= torque[j]*epsi[j]; |
154 |
|
|
155 |
|
} |
156 |
|
|