ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-4/src/integrators/NVT.cpp
(Generate patch)

Comparing trunk/OOPSE-4/src/integrators/NVT.cpp (file contents):
Revision 2204 by gezelter, Fri Apr 15 22:04:00 2005 UTC vs.
Revision 2243 by tim, Sun May 29 00:06:14 2005 UTC

# 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();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines