--- trunk/OOPSE/libmdtools/NVT.cpp 2003/07/14 22:38:13 600 +++ trunk/OOPSE/libmdtools/NVT.cpp 2003/07/22 19:54:52 645 @@ -11,15 +11,15 @@ NVT::NVT ( SimInfo *theInfo, ForceFields* the_ff): // Basic thermostating via Hoover, Phys.Rev.A, 1985, Vol. 31 (5) 1695-1697 -NVT::NVT ( SimInfo *theInfo, ForceFields* the_ff): - Integrator( theInfo, the_ff ) +template NVT::NVT ( SimInfo *theInfo, ForceFields* the_ff): + T( theInfo, the_ff ) { chi = 0.0; have_tau_thermostat = 0; have_target_temp = 0; } -void NVT::moveA() { +template void NVT::moveA() { int i, j; DirectionalAtom* dAtom; @@ -102,7 +102,7 @@ void NVT::moveB( void ){ } } -void NVT::moveB( void ){ +template void NVT::moveB( void ){ int i, j; DirectionalAtom* dAtom; double Tb[3], ji[3]; @@ -149,7 +149,7 @@ int NVT::readyCheck() { } } -int NVT::readyCheck() { +template int NVT::readyCheck() { // First check to see if we have a target temperature. // Not having one is fatal. @@ -175,4 +175,3 @@ int NVT::readyCheck() { } return 1; } -