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

Comparing trunk/OOPSE/libmdtools/mpiSimulation.hpp (file contents):
Revision 1107 by mmeineke, Tue Oct 28 22:25:46 2003 UTC vs.
Revision 1108 by tim, Wed Apr 14 15:37:41 2004 UTC

# Line 14 | Line 14 | class mpiSimulation{ (public)
14    mpiSimulation(SimInfo* the_entryPlug);
15    ~mpiSimulation();
16    
17 <  int *divideLabor( void );
17 >  void divideLabor();
18    
19    int  getMyNode(void)           { return mpiPlug->myNode; }
20    int  getNumberProcessors(void) { return mpiPlug->numberProcessors; }
# Line 25 | Line 25 | class mpiSimulation{ (public)
25    int* getAtomToProcMap( void )  { return AtomToProcMap; }
26    int* getMolToProcMap( void )   { return MolToProcMap; }
27    int* getMolComponentType(void) { return MolComponentType; }
28 <  
28 >  vector<int> getGlobalAtomIndex(void) {return globalAtomIndex; }
29 >  vector<int> getGlobalMolIndex(void) {return globalMolIndex;}
30 >  int getGlobalToLocalMol(int globalIndex) {return globalToLocalMol[globalIndex];}
31 >  int getGlobalToLocalAtom(int globalIndex) {return globalToLocalAtom[globalIndex];}
32 >
33 >
34 >  //void globalToLocalMol(int globalIndex, int& whichNode, int& localIndex);
35 >  //void globalToLocalAtom(int globalIndex, int& whichNode, int& localIndex);
36 >
37    // sets the internal function pointer to fortran.
38  
39    void setInternal( setFortranMPI_TD fSetup){
# Line 44 | Line 52 | class mpiSimulation{ (public)
52    int *MolComponentType;
53    int *AtomToProcMap;
54    int *AtomType;
55 +  vector<int> globalAtomIndex;
56 +  vector<int> globalMolIndex;
57  
58 +  vector<int> globalToLocalMol;
59 +  vector<int> globalToLocalAtom;
60    // private function to initialize the fortran side of the simulation
61    setFortranMPI_TD setFsimParallel;
62  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines