--- trunk/OOPSE/libmdtools/NPTi.cpp 2003/07/15 19:56:08 617 +++ trunk/OOPSE/libmdtools/NPTi.cpp 2003/07/22 19:54:52 645 @@ -20,8 +20,8 @@ NPTi::NPTi ( SimInfo *theInfo, ForceFields* the_ff): // // Hoover, W. G., 1986, Phys. Rev. A, 34, 2499. -NPTi::NPTi ( SimInfo *theInfo, ForceFields* the_ff): - Integrator( theInfo, the_ff ) +template NPTi::NPTi ( SimInfo *theInfo, ForceFields* the_ff): + T( theInfo, the_ff ) { chi = 0.0; eta = 0.0; @@ -31,7 +31,7 @@ void NPTi::moveA() { have_target_pressure = 0; } -void NPTi::moveA() { +template void NPTi::moveA() { int i, j; DirectionalAtom* dAtom; @@ -144,7 +144,7 @@ void NPTi::moveB( void ){ } -void NPTi::moveB( void ){ +template void NPTi::moveB( void ){ int i, j; DirectionalAtom* dAtom; @@ -200,7 +200,7 @@ int NPTi::readyCheck() { } } -int NPTi::readyCheck() { +template int NPTi::readyCheck() { // First check to see if we have a target temperature. // Not having one is fatal.