ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/libmdtools/NVT.cpp
(Generate patch)

Comparing trunk/OOPSE/libmdtools/NVT.cpp (file contents):
Revision 600 by gezelter, Mon Jul 14 22:38:13 2003 UTC vs.
Revision 645 by tim, Tue Jul 22 19:54:52 2003 UTC

# Line 11 | Line 11 | NVT::NVT ( SimInfo *theInfo, ForceFields* the_ff):
11  
12   // Basic thermostating via Hoover, Phys.Rev.A, 1985, Vol. 31 (5) 1695-1697
13  
14 < NVT::NVT ( SimInfo *theInfo, ForceFields* the_ff):
15 <  Integrator( theInfo, the_ff )
14 > template<typename T> NVT<T>::NVT ( SimInfo *theInfo, ForceFields* the_ff):
15 >  T( theInfo, the_ff )
16   {
17    chi = 0.0;
18    have_tau_thermostat = 0;
19    have_target_temp = 0;
20   }
21  
22 < void NVT::moveA() {
22 > template<typename T> void NVT<T>::moveA() {
23    
24    int i, j;
25    DirectionalAtom* dAtom;
# Line 102 | Line 102 | void NVT::moveB( void ){
102    }
103   }
104  
105 < void NVT::moveB( void ){
105 > template<typename T> void NVT<T>::moveB( void ){
106    int i, j;
107    DirectionalAtom* dAtom;
108    double Tb[3], ji[3];
# Line 149 | Line 149 | int NVT::readyCheck() {
149    }
150   }
151  
152 < int NVT::readyCheck() {
152 > template<typename T> int NVT<T>::readyCheck() {
153  
154    // First check to see if we have a target temperature.
155    // Not having one is fatal.
# Line 175 | Line 175 | int NVT::readyCheck() {
175    }    
176    return 1;
177   }
178

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines