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 617 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 | NPTf::NPTf ( SimInfo *theInfo, ForceFields* the_ff):
20   //
21   //    Hoover, W. G., 1986, Phys. Rev. A, 34, 2499.
22  
23 < NPTf::NPTf ( SimInfo *theInfo, ForceFields* the_ff):
24 <  Integrator( theInfo, the_ff )
23 > template<typename T> NPTf<T>::NPTf ( SimInfo *theInfo, ForceFields* the_ff):
24 >  T( theInfo, the_ff )
25   {
26    int i, j;
27    chi = 0.0;
# Line 36 | Line 36 | void NPTf::moveA() {
36    have_target_pressure = 0;
37   }
38  
39 < void NPTf::moveA() {
39 > template<typename T> void NPTf<T>::moveA() {
40    
41    int i, j, k;
42    DirectionalAtom* dAtom;
# Line 228 | Line 228 | void NPTf::moveB( void ){
228    
229   }
230  
231 < void NPTf::moveB( void ){
231 > template<typename T> void NPTf<T>::moveB( void ){
232  
233    int i, j;
234    DirectionalAtom* dAtom;
# Line 310 | Line 310 | int NPTf::readyCheck() {
310    }
311   }
312  
313 < int NPTf::readyCheck() {
313 > template<typename T> int NPTf<T>::readyCheck() {
314  
315    // First check to see if we have a target temperature.
316    // Not having one is fatal.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines