ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/branches/new_design/OOPSE-2.0/src/primitives/Torsion.cpp
(Generate patch)

Comparing branches/new_design/OOPSE-2.0/src/primitives/Torsion.cpp (file contents):
Revision 1858 by tim, Mon Dec 6 22:56:25 2004 UTC vs.
Revision 1859 by tim, Mon Dec 6 23:29:20 2004 UTC

# 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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines