# | Line 174 | Line 174 | namespace OpenMD { | |
---|---|---|
174 | Vector3d vec2 = bondvec[j]; | |
175 | ||
176 | vec2.normalize(); | |
177 | < | |
177 | > | |
178 | RealType theta = acos(dot(vec1,vec2))*180.0/NumericConstant::PI; | |
179 | – | |
179 | ||
180 | + | |
181 | if (theta > 180.0){ | |
182 | theta = 360.0 - theta; | |
183 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |