ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/mdtools/headers/mpiSimulation.hpp
(Generate patch)

Comparing trunk/mdtools/headers/mpiSimulation.hpp (file contents):
Revision 121 by chuckv, Mon Sep 30 19:36:00 2002 UTC vs.
Revision 201 by mmeineke, Tue Dec 10 21:41:23 2002 UTC

# Line 1 | Line 1
1 + #ifndef __MPISIMULATION__
2 + #define __MPISIMULATION__
3  
4 + #include "SimInfo.hpp"
5 + #include "MakeStamps.hpp"
6  
7   class mpiSimulation{
8   public:
9  
10 <    mpiSimulation();
11 <    ~mpiSimulation();
10 >  mpiSimulation(SimInfo* the_entryPlug);
11 >  ~mpiSimulation();
12 >  
13 >  void divideLabor( void );
14 >  
15 >  int  getMyNode(void)        { return myNode; }
16 >  int  getMyMolStart( void )  { return myMolStart; }
17 >  int  getMyMolEnd( void )    { return myMlEnd; }
18 >  int  getMyMol( void )       { return myMol; }
19 >  int  getMyAtomStart( void ) { return myAtomStart; }
20 >  int  getMyAtomEnd( void )   { return myAtomEnd; }
21 >  int  getMyNlocal( void )    { return myNlocal; }
22 >  
23  
9    int  getMyNode(void) {return myNode;}
10    int  mpiInitSimulation();
11    int  mpiDistSimulation();
12
24   private:
25  
26   protected:
27 <    int myMolStart;
28 <    int myMolEnd;
29 <    int myMol;
30 <    int  numberProcessors;
31 <    int  myNode;
32 <    int  processorNameLen;
33 <    char processorName[MPI_MAX_PROCESSOR_NAME];
34 <    int  natomsRow,natomsCol,natomsStart,natomsEnd;
35 <    int  numberCols,numberRows;
36 <    int  nmolsRow,nmolsCol,nmolsLocal;
27 >  SimInfo* entryPlug;
28 >  
29 >  int myMolStart;
30 >  int myMolEnd;
31 >  int myAtomStart, myAtomEnd;
32 >  int myMol;
33 >  int myNlocal;
34 >  int *myIdents;
35 >  int  numberProcessors;
36 >  int  myNode;
37 >  //  int  processorNameLen;
38 >  //  char* processorName;
39 >  int  natomsRow,natomsCol;
40 >  int  numberCols,numberRows;
41 >  int  nmolsRow,nmolsCol,nmolsLocal;
42  
43 +
44 +  int simTotAtoms, simTotBonds, simTotBends, simTotTorsions;
45 +  int simTotSRI, simTotNmol;
46 +
47   };
48 +
49 +
50 + #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines