| # | Line 329 | Line 329 | namespace OpenMD { | |
|---|---|---|
| 329 | #endif | |
| 330 | ||
| 331 | currSnapshot_ = info_->getSnapshotManager()->getCurrentSnapshot(); | |
| 332 | – | RealType pot = currSnapshot_->getLongRangePotential(); |
| 333 | – | pot += restPot; |
| 334 | – | currSnapshot_->setLongRangePotential(pot); |
| 332 | currSnapshot_->setRestraintPotential(restPot); | |
| 333 | ||
| 334 | //write out forces and current positions of restrained molecules | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |