# | Line 551 | Line 551 | void SimCreator::setGlobalIndex(SimInfo *info) { | |
---|---|---|
551 | beginCutoffGroupIndex += NumCutoffGroupsInProc[i]; | |
552 | } | |
553 | ||
554 | + | //rigidbody's index begins right after atom's |
555 | + | beginRigidBodyIndex += info->getNGlobalAtoms(); |
556 | #endif | |
557 | ||
558 | for(mol = info->beginMolecule(mi); mol != NULL; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |