--- trunk/mdtools/headers/mpiSimulation.hpp 2003/01/28 22:16:55 252 +++ trunk/mdtools/headers/mpiSimulation.hpp 2003/01/30 15:20:21 253 @@ -13,7 +13,7 @@ class mpiSimulation{ (public) mpiSimulation(SimInfo* the_entryPlug); ~mpiSimulation(); - void divideLabor( void ); + int *divideLabor( void ); int getMyNode(void) { return mpiPlug->myNode; } int getNumberProcessors(void) { return mpiPlug->numberProcessors; } @@ -32,8 +32,11 @@ class mpiSimulation{ (public) setFsimParallel = fSetup; } -private: + // call at the begining and after load balancing + + void mpiRefresh( void ); + protected: SimInfo* entryPlug; mpiSimData* mpiPlug; @@ -54,7 +57,7 @@ class mpiSimulation{ (public) The following pointer is the global declaration of the mpiSim object created when the mpiSimulation creation routine is called. Every one who includes the header file will then have - access to all of the routines in mnpiSimulation class. + access to all of the routines in mpiSimulation class. */ extern mpiSimulation* mpiSim;