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 215 by chuckv, Thu Dec 19 21:59:51 2002 UTC vs.
Revision 223 by chuckv, Fri Jan 3 22:04:50 2003 UTC

# Line 15 | Line 15 | class mpiSimulation{ (public)
15    
16    void divideLabor( void );
17    
18 <  int  getMyNode(void)        { return myNode; }
19 <  int  getMyMolStart( void )  { return myMolStart; }
20 <  int  getMyMolEnd( void )    { return myMlEnd; }
21 <  int  getMyMol( void )       { return myMol; }
22 <  int  getMyAtomStart( void ) { return myAtomStart; }
23 <  int  getMyAtomEnd( void )   { return myAtomEnd; }
24 <  int  getMyNlocal( void )    { return myNlocal; }
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; }
27 >  int getTotAtoms( void )        { return simTotAtoms; }
28    
29  
30   private:
# Line 36 | Line 37 | class mpiSimulation{ (public)
37  
38   };
39  
40 +
41 + /**
42 +   The following pointer is the global declaration of the mpiSim
43 +   object created when the mpiSimulation creation routine is
44 +   called. Every one who includes the header file will then have
45 +   access to all of the routines in mnpiSimulation class.
46 + */
47 +
48   extern mpiSimulation* mpiSim;
49  
50   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines