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); |