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

Comparing:
trunk/src/math/SquareMatrix3.hpp (file contents), Revision 1390 by gezelter, Wed Nov 25 20:02:06 2009 UTC vs.
branches/development/src/math/SquareMatrix3.hpp (file contents), Revision 1753 by gezelter, Tue Jun 12 13:20:28 2012 UTC

# Line 36 | Line 36
36   * [1]  Meineke, et al., J. Comp. Chem. 26, 252-271 (2005).            
37   * [2]  Fennell & Gezelter, J. Chem. Phys. 124, 234104 (2006).          
38   * [3]  Sun, Lin & Gezelter, J. Chem. Phys. 128, 24107 (2008).          
39 < * [4]  Vardeman & Gezelter, in progress (2009).                        
39 > * [4]  Kuang & Gezelter,  J. Chem. Phys. 133, 164101 (2010).
40 > * [5]  Vardeman, Stocker & Gezelter, J. Chem. Theory Comput. 7, 834 (2011).
41   */
42  
43   /**
# Line 109 | Line 110 | namespace OpenMD {
110        return *this;
111      }
112  
113 +    
114      /**
115       * Sets this matrix to a rotation matrix by three euler angles
116       * @ param euler
# Line 187 | Line 189 | namespace OpenMD {
189      }
190  
191  
190
192      /**
193       * Returns the quaternion from this rotation matrix
194       * @return the quaternion from this rotation matrix
# Line 417 | Line 418 | namespace OpenMD {
418      Vector3<Real> v_maxI, v_k, v_j;
419  
420      // diagonalize using Jacobi
421 <    jacobi(a, w, v);
421 >    SquareMatrix3<Real>::jacobi(a, w, v);
422      // if all the eigenvalues are the same, return identity matrix
423      if (w[0] == w[1] && w[0] == w[2] ) {
424        v = SquareMatrix3<Real>::identity();

Comparing:
trunk/src/math/SquareMatrix3.hpp (property svn:keywords), Revision 1390 by gezelter, Wed Nov 25 20:02:06 2009 UTC vs.
branches/development/src/math/SquareMatrix3.hpp (property svn:keywords), Revision 1753 by gezelter, Tue Jun 12 13:20:28 2012 UTC

# Line 0 | Line 1
1 + Author Id Revision Date

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines