Revision: | 121 |
Committed: | Mon Sep 30 19:36:00 2002 UTC (22 years, 7 months ago) by chuckv |
File size: | 499 byte(s) |
Log Message: | Initial mpi support |
# | Content |
---|---|
1 | |
2 | |
3 | class mpiSimulation{ |
4 | public: |
5 | |
6 | mpiSimulation(); |
7 | ~mpiSimulation(); |
8 | |
9 | int getMyNode(void) {return myNode;} |
10 | int mpiInitSimulation(); |
11 | int mpiDistSimulation(); |
12 | |
13 | private: |
14 | |
15 | protected: |
16 | int myMolStart; |
17 | int myMolEnd; |
18 | int myMol; |
19 | int numberProcessors; |
20 | int myNode; |
21 | int processorNameLen; |
22 | char processorName[MPI_MAX_PROCESSOR_NAME]; |
23 | int natomsRow,natomsCol,natomsStart,natomsEnd; |
24 | int numberCols,numberRows; |
25 | int nmolsRow,nmolsCol,nmolsLocal; |
26 | |
27 | }; |