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 644 by gezelter, Tue Jul 15 19:56:08 2003 UTC vs.
Revision 645 by tim, Tue Jul 22 19:54:52 2003 UTC

# Line 20 | Line 20 | NPTi::NPTi ( SimInfo *theInfo, ForceFields* the_ff):
20   //
21   //    Hoover, W. G., 1986, Phys. Rev. A, 34, 2499.
22  
23 < NPTi::NPTi ( SimInfo *theInfo, ForceFields* the_ff):
24 <  Integrator( theInfo, the_ff )
23 > template<typename T> NPTi<T>::NPTi ( SimInfo *theInfo, ForceFields* the_ff):
24 >  T( theInfo, the_ff )
25   {
26    chi = 0.0;
27    eta = 0.0;
# Line 31 | Line 31 | void NPTi::moveA() {
31    have_target_pressure = 0;
32   }
33  
34 < void NPTi::moveA() {
34 > template<typename T> void NPTi<T>::moveA() {
35    
36    int i, j;
37    DirectionalAtom* dAtom;
# Line 144 | Line 144 | void NPTi::moveB( void ){
144  
145   }
146  
147 < void NPTi::moveB( void ){
147 > template<typename T> void NPTi<T>::moveB( void ){
148  
149    int i, j;
150    DirectionalAtom* dAtom;
# Line 200 | Line 200 | int NPTi::readyCheck() {
200    }
201   }
202  
203 < int NPTi::readyCheck() {
203 > template<typename T> int NPTi<T>::readyCheck() {
204  
205    // First check to see if we have a target temperature.
206    // Not having one is fatal.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines