--- trunk/OOPSE/libmdtools/SimSetup.cpp 2003/04/11 18:46:37 491 +++ trunk/OOPSE/libmdtools/SimSetup.cpp 2003/06/17 21:56:15 555 @@ -734,21 +734,16 @@ void SimSetup::createSim( void ){ if( the_globals->haveTempSet() ) simnfo->setTemp = the_globals->getTempSet(); -// // make the longe range forces and the integrator - -// new AllLong( simnfo ); + // make the integrator - if( !strcmp( force_field, "TraPPE_Ex" ) ){ + if( !strcmp( ensemble, "TraPPE_Ex" ) ){ new Symplectic(simnfo, the_ff, the_extendedsystem); } else if( !strcmp( force_field, "LJ" ) ){ new Verlet( *simnfo, the_ff, the_extendedsystem ); } - else { - std::cerr << "I'm a bug.\n"; - fprintf( stderr, "Ima bug. stderr %s\n", force_field); - } + #ifdef IS_MPI mpiSim->mpiRefresh(); #endif