| # | Line 134 | Line 134 | namespace OpenMD { | |
|---|---|---|
| 134 | curSnapshot->statData[Stats::LONG_RANGE_POTENTIAL] = lrPot_; | |
| 135 | ||
| 136 | // scale the pressure tensor | |
| 137 | < | tempTau = curSnapshot->getTau(); |
| 137 | > | tempTau = curSnapshot->getStressTensor(); |
| 138 | tempTau *= factor_; | |
| 139 | < | curSnapshot->setTau(tempTau); |
| 139 | > | curSnapshot->setStressTensor(tempTau); |
| 140 | ||
| 141 | // now, on to the applied restraining potentials (if needed): | |
| 142 | RealType restPot_local = 0.0; | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |