ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/src/math/SquareMatrix3.hpp
(Generate patch)

Comparing trunk/src/math/SquareMatrix3.hpp (file contents):
Revision 1442 by gezelter, Mon May 10 17:28:26 2010 UTC vs.
Revision 1610 by gezelter, Fri Aug 12 14:37:25 2011 UTC

# Line 417 | Line 417 | namespace OpenMD {
417      Vector3<Real> v_maxI, v_k, v_j;
418  
419      // diagonalize using Jacobi
420 <    jacobi(a, w, v);
420 >    SquareMatrix3<Real>::jacobi(a, w, v);
421      // if all the eigenvalues are the same, return identity matrix
422      if (w[0] == w[1] && w[0] == w[2] ) {
423        v = SquareMatrix3<Real>::identity();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines