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

Comparing trunk/src/brains/SimCreator.cpp (file contents):
Revision 1024 by tim, Wed Aug 30 18:42:29 2006 UTC vs.
Revision 1241 by gezelter, Fri Apr 25 15:14:47 2008 UTC

# Line 591 | Line 591 | namespace oopse {
591      info->setMolToProcMap(molToProcMap);
592      sprintf(checkPointMsg,
593              "Successfully divided the molecules among the processors.\n");
594 <    MPIcheckPoint();
594 >    errorCheckPoint();
595    }
596    
597   #endif
# Line 777 | Line 777 | int startingIndex = 0;
777    startingIndex += numIntegrableObjectsPerMol[i];
778   }
779  
780 std::cerr << "nGIO = " << info->getNGlobalIntegrableObjects() << "\n";
780   std::vector<StuntDouble*> IOIndexToIntegrableObject(info->getNGlobalIntegrableObjects(), (StuntDouble*)NULL);
781   for (mol = info->beginMolecule(mi); mol != NULL; mol = info->nextMolecule(mi)) {
782        int myGlobalIndex = mol->getGlobalIndex();
783        int globalIO = startingIOIndexForMol[myGlobalIndex];
785      std::cerr << "myGlobalIndex = " << myGlobalIndex << " globalIO = " << globalIO << "\n";
784        for (StuntDouble* integrableObject = mol->beginIntegrableObject(ioi); integrableObject != NULL;
785             integrableObject = mol->nextIntegrableObject(ioi)) {
786              integrableObject->setGlobalIntegrableObjectIndex(globalIO);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines