| # | Line 95 | Line 95 | namespace OpenMD { | |
|---|---|---|
| 95 | ||
| 96 | // Calculate the cross products and distances | |
| 97 | Vector3d A = cross(r31, r43); | |
| 98 | – | RealType rA = A.length(); |
| 98 | Vector3d B = cross(r43, r23); | |
| 100 | – | RealType rB = B.length(); |
| 101 | – | //Vector3d C = cross(r23, A); |
| 102 | – | //RealType rC = C.length(); |
| 99 | ||
| 100 | A.normalize(); | |
| 101 | B.normalize(); | |
| 106 | – | //C.normalize(); |
| 102 | ||
| 103 | // Calculate the sin and cos | |
| 104 | RealType cos_phi = dot(A, B) ; | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |