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

Comparing trunk/OOPSE-2.0/src/integrators/NPT.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 336 | Line 336 | namespace oopse {
336      currentSnapshot_->setIntegralOfChiDt(integralOfChidt);    
337  
338      saveEta();
339 +  }
340 +
341 +  void NPT::resetIntegrator(){
342 +      currentSnapshot_->setChi(0.0);
343 +      currentSnapshot_->setIntegralOfChiDt(0.0);
344 +      resetEta();
345    }
346  
347 +
348 +    void NPT::resetEta() {
349 +      Mat3x3d etaMat(0.0);
350 +      currentSnapshot_->setEta(etaMat);    
351 +    }
352 +    
353   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines