2 |
|
#define __MPISIMULATION__ |
3 |
|
|
4 |
|
#include "SimInfo.hpp" |
5 |
+ |
#include "MakeStamps.hpp" |
6 |
|
|
6 |
– |
|
7 |
|
class mpiSimulation{ |
8 |
|
public: |
9 |
|
|
10 |
|
mpiSimulation(SimInfo* the_entryPlug); |
11 |
|
~mpiSimulation(); |
12 |
|
|
13 |
< |
void divideLabor(int nComponents, MoleculeStamp** compStamps, int* componentsNmol ); |
13 |
> |
void divideLabor( void ); |
14 |
|
|
15 |
|
int getMyNode(void) {return myNode;} |
16 |
|
|
23 |
|
|
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,natomsStart,natomsEnd; |
34 |
> |
int natomsRow,natomsCol; |
35 |
|
int numberCols,numberRows; |
36 |
|
int nmolsRow,nmolsCol,nmolsLocal; |
37 |
|
|