--- trunk/OOPSE-1.0/libmdtools/SimSetup.cpp 2004/07/29 18:01:05 1434 +++ trunk/OOPSE-1.0/libmdtools/SimSetup.cpp 2004/07/29 18:16:16 1435 @@ -96,6 +96,9 @@ SimSetup::~SimSetup(){ } SimSetup::~SimSetup(){ + // clean up the forcefield + the_ff->cleanMe(); + delete stamps; delete globals; } @@ -114,6 +117,8 @@ void SimSetup::parseFile(char* fileName){ #endif // is_mpi inFileName = fileName; + + globals->initalize(); set_interface_stamps(stamps, globals); #ifdef IS_MPI @@ -1126,8 +1131,6 @@ void SimSetup::finalInfoCheck(void){ MPIcheckPoint(); #endif // is_mpi - // clean up the forcefield - the_ff->cleanMe(); } void SimSetup::initSystemCoords(void){