ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/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.
Revision 1459 by gezelter, Tue Jul 6 21:23:46 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