ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/brains/SimCreator.cpp
(Generate patch)

Comparing branches/development/src/brains/SimCreator.cpp (file contents):
Revision 1600 by gezelter, Wed Aug 3 20:20:37 2011 UTC vs.
Revision 1601 by gezelter, Thu Aug 4 20:04:35 2011 UTC

# Line 589 | Line 589 | namespace OpenMD {
589        MPI_Bcast(&molToProcMap[0], nGlobalMols, MPI_INT, 0, MPI_COMM_WORLD);
590      }
591      
592    cerr << "molToProcMap:\n";
593    for (int i = 0; i < molToProcMap.size(); i++) {
594      cerr << "m = " << i << " mtpr[m] = " << molToProcMap[i] <<"\n";
595    }
596
592      info->setMolToProcMap(molToProcMap);
593      sprintf(checkPointMsg,
594              "Successfully divided the molecules among the processors.\n");
# Line 712 | Line 707 | namespace OpenMD {
707      MPI_Allreduce(&globalGroupMembership[0], &tmpGroupMembership[0], nGlobalAtoms,
708                    MPI_INT, MPI_SUM, MPI_COMM_WORLD);
709      info->setGlobalGroupMembership(tmpGroupMembership);
715
716    cerr << "ggm:\n";
717    for (int i = 0; i < tmpGroupMembership.size(); i++)
718      cerr << "i = " << i << "\t ggm(i) = " << tmpGroupMembership[i] << "\n";
719
710   #else
711      info->setGlobalGroupMembership(globalGroupMembership);
712   #endif
# Line 776 | Line 766 | namespace OpenMD {
766          globalIO++;
767        }
768      }
779    cerr << "ioi2io:\n";
780    for (int i = 0; i < IOIndexToIntegrableObject.size(); i++) {
781      if (IOIndexToIntegrableObject[i] != NULL) {
782        cerr << "i = " << i << "globalIOindex = " << IOIndexToIntegrableObject[i]->getGlobalIntegrableObjectIndex() << "\n";
783      }
784    }
769        
770      info->setIOIndexToIntegrableObject(IOIndexToIntegrableObject);
771      

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines