ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/restraints/ObjectRestraint.cpp
(Generate patch)

Comparing trunk/src/restraints/ObjectRestraint.cpp (file contents):
Revision 1390 by gezelter, Wed Nov 25 20:02:06 2009 UTC vs.
Revision 1396 by gezelter, Sat Dec 5 02:57:05 2009 UTC

# Line 76 | Line 76 | namespace OpenMD {
76        RealType tw, swingX, swingY;
77        
78        quat.getTwistSwingAxisAngle(twistAngle, swingAngle, swingAxis);
79 <      quat.toSwingTwist(tw, swingX, swingY);
79 >      quat.toSwingTwist(swingX, swingY, tw);
80        
81        RealType dVdtwist, dVdswingX, dVdswingY;
82        RealType dTwist, dSwingX, dSwingY;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines