13 |
|
mpiSimulation(SimInfo* the_entryPlug); |
14 |
|
~mpiSimulation(); |
15 |
|
|
16 |
< |
void divideLabor( void ); |
16 |
> |
int *divideLabor( void ); |
17 |
|
|
18 |
|
int getMyNode(void) { return mpiPlug->myNode; } |
19 |
|
int getNumberProcessors(void) { return mpiPlug->numberProcessors; } |
32 |
|
setFsimParallel = fSetup; |
33 |
|
} |
34 |
|
|
35 |
– |
private: |
35 |
|
|
36 |
+ |
// call at the begining and after load balancing |
37 |
+ |
|
38 |
+ |
void mpiRefresh( void ); |
39 |
+ |
|
40 |
|
protected: |
41 |
|
SimInfo* entryPlug; |
42 |
|
mpiSimData* mpiPlug; |
57 |
|
The following pointer is the global declaration of the mpiSim |
58 |
|
object created when the mpiSimulation creation routine is |
59 |
|
called. Every one who includes the header file will then have |
60 |
< |
access to all of the routines in mnpiSimulation class. |
60 |
> |
access to all of the routines in mpiSimulation class. |
61 |
|
*/ |
62 |
|
|
63 |
|
extern mpiSimulation* mpiSim; |