| # | Line 109 | Line 109 | namespace OpenMD { | |
|---|---|---|
| 109 | ||
| 110 | void NPTxyz::scaleSimBox(){ | |
| 111 | ||
| 112 | < | int i,j,k; |
| 112 | > | int i, j; |
| 113 | Mat3x3d scaleMat; | |
| 114 | < | RealType eta2ij, scaleFactor; |
| 114 | > | RealType scaleFactor; |
| 115 | RealType bigScale, smallScale, offDiagMax; | |
| 116 | Mat3x3d hm; | |
| 117 | Mat3x3d hmnew; | |
| 118 | ||
| 119 | – | |
| 120 | – | |
| 119 | // Scale the box after all the positions have been moved: | |
| 120 | ||
| 121 | // Use a taylor expansion for eta products: Hmat = Hmat . exp(dt * etaMat) | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |