671 |
|
for (integrableObject = mol->beginIntegrableObject(ii); |
672 |
|
integrableObject != NULL; |
673 |
|
integrableObject = mol->nextIntegrableObject(ii)){ |
674 |
< |
intObjIndex = integrableObject->getGlobalIndex(); |
674 |
> |
intObjIndex = integrableObject->getGlobalIntegrableObjectIndex(); |
675 |
|
integrableObject->setZangle(tempZangs[intObjIndex]); |
676 |
|
} |
677 |
|
|
719 |
|
for (integrableObject = mol->beginIntegrableObject(ii); |
720 |
|
integrableObject != NULL; |
721 |
|
integrableObject = mol->nextIntegrableObject(ii)){ |
722 |
< |
intObjIndexTransfer = integrableObject->getGlobalIndex(); |
722 |
> |
intObjIndexTransfer = integrableObject->getGlobalIntegrableObjectIndex(); |
723 |
|
// send the global index of the integrableObject |
724 |
|
MPI_Send(&intObjIndexTransfer, 1, MPI_INT, 0, |
725 |
|
TAKE_THIS_TAG_INT, MPI_COMM_WORLD); |
741 |
|
StuntDouble* integrableObject; |
742 |
|
SimInfo::MoleculeIterator mi; |
743 |
|
Molecule::IntegrableObjectIterator ii; |
744 |
< |
|
744 |
> |
|
745 |
|
#ifndef IS_MPI |
746 |
|
// set all zAngles to 0.0 |
747 |
|
for (mol = info_->beginMolecule(mi); mol != NULL; |