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

Comparing:
trunk/src/primitives/GhostTorsion.cpp (file contents), Revision 1446 by gezelter, Thu Jun 17 14:48:02 2010 UTC vs.
branches/development/src/primitives/GhostTorsion.cpp (file contents), Revision 1465 by chuckv, Fri Jul 9 23:08:25 2010 UTC

# Line 56 | Line 56 | namespace OpenMD {
56      
57      Vector3d r21 = pos1 - pos2;
58      Vector3d r32 = pos2 - pos3;
59 <    Vector3d r43 = ghostAtom->getA().getColumn(2);
59 >    Vector3d r43 = ghostAtom->getA().transpose().getColumn(2);
60      
61      //  Calculate the cross products and distances
62      Vector3d A = cross(r21, r32);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines