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

Comparing trunk/OOPSE/libmdtools/NPTf.cpp (file contents):
Revision 658 by tim, Thu Jul 31 15:35:07 2003 UTC vs.
Revision 746 by mmeineke, Thu Sep 4 21:48:35 2003 UTC

# Line 310 | Line 310 | template<typename T> int NPTf<T>::readyCheck() {
310    }
311   }
312  
313 + template<typename T> void NPTf<T>::resetIntegrator() {
314 +  int i,j;
315 +  
316 +  chi = 0.0;
317 +
318 +  for(i = 0; i < 3; i++)
319 +    for (j = 0; j < 3; j++)
320 +      eta[i][j] = 0.0;
321 +
322 + }
323 +
324   template<typename T> int NPTf<T>::readyCheck() {
325  
326    //check parent's readyCheck() first

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines