--- trunk/src/brains/SimCreator.cpp 2005/02/04 04:57:04 284 +++ trunk/src/brains/SimCreator.cpp 2005/02/04 05:26:30 285 @@ -551,6 +551,8 @@ void SimCreator::setGlobalIndex(SimInfo *info) { beginCutoffGroupIndex += NumCutoffGroupsInProc[i]; } + //rigidbody's index begins right after atom's + beginRigidBodyIndex += info->getNGlobalAtoms(); #endif for(mol = info->beginMolecule(mi); mol != NULL;