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

Comparing trunk/OOPSE/libmdtools/SimSetup.cpp (file contents):
Revision 738 by tim, Tue Sep 2 14:30:12 2003 UTC vs.
Revision 778 by mmeineke, Fri Sep 19 20:00:27 2003 UTC

# Line 686 | Line 686 | void SimSetup::gatherInfo(void){
686  
687      if (globals->haveThermalTime()){
688        info[i].thermalTime = globals->getThermalTime();
689 +    }
690 +
691 +    info[i].resetIntegrator = 0;
692 +    if( globals->haveResetTime() ){
693 +      info[i].resetTime = globals->getResetTime();
694 +      info[i].resetIntegrator = 1;
695      }
696  
697      // check for the temperature set flag
# Line 1343 | Line 1349 | void SimSetup::makeIntegrator(void){
1349    int k;
1350  
1351    NVT<RealIntegrator>* myNVT = NULL;
1352 <  NPTi<RealIntegrator>* myNPTi = NULL;
1352 >  NPTi<NPT<RealIntegrator> >* myNPTi = NULL;
1353    NPTf<RealIntegrator>* myNPTf = NULL;
1354    NPTim<RealIntegrator>* myNPTim = NULL;
1355    NPTfm<RealIntegrator>* myNPTfm = NULL;
# Line 1383 | Line 1389 | void SimSetup::makeIntegrator(void){
1389        case NPTi_ENS:
1390          if (globals->haveZconstraints()){
1391            setupZConstraint(info[k]);
1392 <          myNPTi = new ZConstraint<NPTi<RealIntegrator> >(&(info[k]), the_ff);
1392 >          myNPTi = new ZConstraint<NPTi<NPT <RealIntegrator> > >(&(info[k]), the_ff);
1393          }
1394          else
1395 <          myNPTi = new NPTi<RealIntegrator>(&(info[k]), the_ff);
1395 >          myNPTi = new NPTi<NPT<RealIntegrator> >(&(info[k]), the_ff);
1396  
1397          myNPTi->setTargetTemp(globals->getTargetTemp());
1398  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines