| 1 |
#ifndef __MPISIMULATION__ |
| 2 |
#define __MPISIMULATION__ |
| 3 |
|
| 4 |
class mpiSimulation{ |
| 5 |
public: |
| 6 |
|
| 7 |
mpiSimulation(); |
| 8 |
~mpiSimulation(); |
| 9 |
|
| 10 |
int getMyNode(void) {return myNode;} |
| 11 |
int mpiInitSimulation(); |
| 12 |
int mpiDistSimulation(); |
| 13 |
|
| 14 |
private: |
| 15 |
|
| 16 |
protected: |
| 17 |
int myMolStart; |
| 18 |
int myMolEnd; |
| 19 |
int myMol; |
| 20 |
int numberProcessors; |
| 21 |
int myNode; |
| 22 |
int processorNameLen; |
| 23 |
char* processorName; |
| 24 |
int natomsRow,natomsCol,natomsStart,natomsEnd; |
| 25 |
int numberCols,numberRows; |
| 26 |
int nmolsRow,nmolsCol,nmolsLocal; |
| 27 |
|
| 28 |
}; |
| 29 |
|
| 30 |
|
| 31 |
#endif |