| 3 |
|
|
| 4 |
|
#include "SimInfo.hpp" |
| 5 |
|
#include "MakeStamps.hpp" |
| 6 |
+ |
#define __C |
| 7 |
+ |
#include "mpiComponentPlan.h" |
| 8 |
|
|
| 9 |
+ |
|
| 10 |
|
class mpiSimulation{ |
| 11 |
|
public: |
| 12 |
|
|
| 15 |
|
|
| 16 |
|
void divideLabor( void ); |
| 17 |
|
|
| 18 |
< |
int getMyNode(void) {return myNode;} |
| 18 |
> |
int getMyNode(void) { return myNode; } |
| 19 |
> |
int getMyMolStart( void ) { return myMolStart; } |
| 20 |
> |
int getMyMolEnd( void ) { return myMlEnd; } |
| 21 |
> |
int getMyMol( void ) { return myMol; } |
| 22 |
> |
int getMyAtomStart( void ) { return myAtomStart; } |
| 23 |
> |
int getMyAtomEnd( void ) { return myAtomEnd; } |
| 24 |
> |
int getMyNlocal( void ) { return myNlocal; } |
| 25 |
> |
|
| 26 |
> |
int getTotAtoms( void ) { return simTotAtoms; } |
| 27 |
|
|
| 17 |
– |
|
| 28 |
|
|
| 29 |
|
private: |
| 30 |
|
|
| 31 |
|
protected: |
| 32 |
|
SimInfo* entryPlug; |
| 33 |
< |
|
| 24 |
< |
int myMolStart; |
| 25 |
< |
int myMolEnd; |
| 26 |
< |
int myAtomStart, myAtomEnd; |
| 27 |
< |
int myMol; |
| 28 |
< |
int myNlocal; |
| 29 |
< |
int *myIdents; |
| 30 |
< |
int numberProcessors; |
| 31 |
< |
int myNode; |
| 32 |
< |
// int processorNameLen; |
| 33 |
< |
// char* processorName; |
| 34 |
< |
int natomsRow,natomsCol; |
| 35 |
< |
int numberCols,numberRows; |
| 36 |
< |
int nmolsRow,nmolsCol,nmolsLocal; |
| 37 |
< |
|
| 33 |
> |
mpiSimData* mpiPlug; |
| 34 |
|
|
| 35 |
+ |
// int *myIdents; // is needed by Cpp only. It tells the molecule which stamp it is. |
| 36 |
+ |
|
| 37 |
|
}; |
| 38 |
|
|
| 39 |
+ |
extern mpiSimulation* mpiSim; |
| 40 |
|
|
| 41 |
|
#endif |