ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/libmdtools/Symplectic.cpp
(Generate patch)

Comparing trunk/OOPSE/libmdtools/Symplectic.cpp (file contents):
Revision 428 by mmeineke, Thu Mar 27 21:07:14 2003 UTC vs.
Revision 443 by mmeineke, Wed Apr 2 22:19:03 2003 UTC

# Line 581 | Line 581 | void Symplectic::rotate( int axes1, int axes2, double
581  
582    for(i=0; i<3; i++){
583      for(j=0; j<3; j++){
584 <      tempA[i][j] = A[i][j];
584 >      tempA[j][i] = A[i][j];
585      }
586    }
587  
# Line 640 | Line 640 | void Symplectic::rotate( int axes1, int axes2, double
640      for(j=0; j<3; j++){
641        A[j][i] = 0.0;
642        for(k=0; k<3; k++){
643 <        A[j][i] += tempA[k][i] * rot[j][k];
643 >        A[j][i] += tempA[i][k] * rot[j][k];
644        }
645      }
646    }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines