ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/libmdtools/NPTi.cpp
(Generate patch)

Comparing trunk/OOPSE/libmdtools/NPTi.cpp (file contents):
Revision 645 by tim, Tue Jul 22 19:54:52 2003 UTC vs.
Revision 746 by mmeineke, Thu Sep 4 21:48:35 2003 UTC

# Line 200 | Line 200 | template<typename T> int NPTi<T>::readyCheck() {
200    }
201   }
202  
203 + template<typename T> void NPTi<T>::resetIntegrator() {
204 +  chi = 0.0;
205 +  eta = 0.0;
206 + }
207 +
208   template<typename T> int NPTi<T>::readyCheck() {
209 +
210 +  //check parent's readyCheck() first
211 +  if (T::readyCheck() == -1)
212 +    return -1;
213  
214    // First check to see if we have a target temperature.
215    // Not having one is fatal.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines