| # | Line 342 | Line 342 | namespace OpenMD { | |
|---|---|---|
| 342 | dspdr = 0.0; | |
| 343 | } | |
| 344 | ||
| 345 | < | idat.vpair[2] += 0.5*(v0*s*w + v0p*sp*wp); |
| 345 | > | idat.vpair += 0.5*(v0*s*w + v0p*sp*wp); |
| 346 | idat.pot[2] += 0.5*(v0*s*w + v0p*sp*wp)*idat.sw; | |
| 347 | ||
| 348 | // do the torques first since they are easy: | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |