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

Comparing trunk/src/primitives/Inversion.cpp (file contents):
Revision 2066 by gezelter, Thu Dec 5 18:19:26 2013 UTC vs.
Revision 2067 by gezelter, Thu Mar 5 15:35:37 2015 UTC

# Line 81 | Line 81 | namespace OpenMD {
81      RealType rA = A.length();
82      Vector3d B = cross(r43, r23);
83      RealType rB = B.length();
84    //Vector3d C = cross(r23, A);
85    //RealType rC = C.length();
84  
85      A.normalize();
86      B.normalize();
89    //C.normalize();
87      
88      //  Calculate the sin and cos
89      RealType cos_phi = dot(A, B) ;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines