| # | Line 248 | Line 248 | namespace oopse { | |
|---|---|---|
| 248 | currentSnapshot_->setIntegralOfChiDt(integralOfChidt); | |
| 249 | } | |
| 250 | ||
| 251 | < | |
| 251 | > | void NVT::resetIntegrator() { |
| 252 | > | currentSnapshot_->setChi(0.0); |
| 253 | > | currentSnapshot_->setIntegralOfChiDt(0.0); |
| 254 | > | } |
| 255 | > | |
| 256 | double NVT::calcConservedQuantity() { | |
| 257 | ||
| 258 | double chi = currentSnapshot_->getChi(); | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |