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

Comparing trunk/OOPSE/libmdtools/mpiSimulation.cpp (file contents):
Revision 1108 by tim, Wed Apr 14 15:37:41 2004 UTC vs.
Revision 1129 by tim, Thu Apr 22 03:29:30 2004 UTC

# Line 272 | Line 272 | void mpiSimulation::divideLabor( ){
272    mpiPlug->myNlocal = natoms_local;
273  
274    globalAtomIndex.resize(mpiPlug->myNlocal);
275 +  globalToLocalAtom.resize(mpiPlug->nAtomsGlobal);
276    local_index = 0;
277    for (i = 0; i < mpiPlug->nAtomsGlobal; i++) {
278      if (AtomToProcMap[i] == mpiPlug->myNode) {
# Line 286 | Line 287 | void mpiSimulation::divideLabor( ){
287    }
288  
289    globalMolIndex.resize(mpiPlug->myNMol);
290 +  globalToLocalMol.resize(mpiPlug->nMolGlobal);
291 +  
292    local_index = 0;
293    for (i = 0; i < mpiPlug->nMolGlobal; i++) {
294      if (MolToProcMap[i] == mpiPlug->myNode) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines