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 195 by chuckv, Thu Dec 5 18:53:40 2002 UTC vs.
Revision 221 by chuckv, Thu Jan 2 20:14:08 2003 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines