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

Comparing trunk/OOPSE/libmdtools/NPTfm.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 23 | Line 23 | NPTfm::NPTfm ( SimInfo *theInfo, ForceFields* the_ff):
23   //  The NPTfm variant scales the molecular center-of-mass coordinates
24   //  instead of the atomic coordinates
25  
26 < NPTfm::NPTfm ( SimInfo *theInfo, ForceFields* the_ff):
27 <  Integrator( theInfo, the_ff )
26 > template<typename T> NPTfm<T>::NPTfm ( SimInfo *theInfo, ForceFields* the_ff):
27 >  T( theInfo, the_ff )
28   {
29    int i, j;
30    chi = 0.0;
# Line 39 | Line 39 | void NPTfm::moveA() {
39    have_target_pressure = 0;
40   }
41  
42 < void NPTfm::moveA() {
42 > template<typename T> void NPTfm<T>::moveA() {
43    
44    int i, j, k;
45    DirectionalAtom* dAtom;
# Line 246 | Line 246 | void NPTfm::moveB( void ){
246    }  
247   }
248  
249 < void NPTfm::moveB( void ){
249 > template<typename T> void NPTfm<T>::moveB( void ){
250  
251    int i, j;
252    DirectionalAtom* dAtom;
# Line 328 | Line 328 | int NPTfm::readyCheck() {
328    }
329   }
330  
331 < int NPTfm::readyCheck() {
331 > template<typename T> int NPTfm<T>::readyCheck() {
332  
333    // First check to see if we have a target temperature.
334    // Not having one is fatal.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines