--- trunk/OOPSE/libmdtools/SimSetup.cpp 2003/07/25 20:00:17 653 +++ trunk/OOPSE/libmdtools/SimSetup.cpp 2003/07/29 16:32:37 656 @@ -27,9 +27,14 @@ SimSetup::SimSetup(){ #define FF_EAM 2 SimSetup::SimSetup(){ + + isInfoArray = 0; + nInfo = 1; + stamps = new MakeStamps(); globals = new Globals(); + #ifdef IS_MPI strcpy( checkPointMsg, "SimSetup creation successful" ); MPIcheckPoint(); @@ -40,6 +45,13 @@ SimSetup::~SimSetup(){ delete stamps; delete globals; } + +void SimSetup::setSimInfo( SimInfo* the_info, int theNinfo ) { + info = the_info; + nInfo = theNinfo; + isInfoArray = 1; + } + void SimSetup::parseFile( char* fileName ){