# | Line 55 | Line 55 | void Torsion::calcForce() { | |
---|---|---|
55 | f2 = dVdcosPhi * ( cross(r43, dcosdB) - cross(r21, dcosdA)); | |
56 | f3 = dVdcosPhi * cross(dcosdB, r32); | |
57 | ||
58 | + | /** @todo fix below block, must be something wrong with the sign somewhere */ |
59 | //} else { | |
60 | // This angle is closer to 0 or 180 than it is to | |
61 | // 90, so use the cos version to avoid 1/sin terms |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |