ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/mdtools/headers/mpiSimulation.hpp
Revision: 196
Committed: Thu Dec 5 21:37:51 2002 UTC (21 years, 7 months ago) by chuckv
File size: 697 byte(s)
Log Message:

Working on the clean removal of key Molecule stamps from the Hash table.
stamps will be moved into a persitient linked list.

File Contents

# User Rev Content
1 chuckv 131 #ifndef __MPISIMULATION__
2     #define __MPISIMULATION__
3 chuckv 121
4 chuckv 194 #include "SimInfo.hpp"
5 chuckv 195 #include "MakeStamps.hpp"
6 chuckv 194
7 chuckv 121 class mpiSimulation{
8     public:
9    
10 chuckv 194 mpiSimulation(SimInfo* the_entryPlug);
11     ~mpiSimulation();
12    
13     void divideLabor(int nComponents, MoleculeStamp** compStamps, int* componentsNmol );
14    
15     int getMyNode(void) {return myNode;}
16    
17    
18 chuckv 121
19     private:
20    
21     protected:
22 chuckv 194 SimInfo* entryPlug;
23    
24     int myMolStart;
25     int myMolEnd;
26 chuckv 195 int myAtomStart, myAtomEnd;
27 chuckv 194 int myMol;
28 chuckv 195 int myNlocal;
29 chuckv 196 int *myIdents;
30 chuckv 194 int numberProcessors;
31     int myNode;
32     // int processorNameLen;
33     // char* processorName;
34 chuckv 195 int natomsRow,natomsCol;
35 chuckv 194 int numberCols,numberRows;
36     int nmolsRow,nmolsCol,nmolsLocal;
37    
38 chuckv 121
39     };
40 chuckv 131
41    
42     #endif