# | Line 310 | Line 310 | template<typename T> void NPTf<T>::moveB( void ){ | |
---|---|---|
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 |
327 | + | if (T::readyCheck() == -1) |
328 | + | return -1; |
329 | ||
330 | // First check to see if we have a target temperature. | |
331 | // Not having one is fatal. |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |