# | Line 436 | Line 436 | namespace OpenMD { | |
---|---|---|
436 | ||
437 | ||
438 | void ForceMatrixDecomposition::distributeData() { | |
439 | + | |
440 | + | #ifdef IS_MPI |
441 | + | |
442 | snap_ = sman_->getCurrentSnapshot(); | |
443 | storageLayout_ = sman_->getStorageLayout(); | |
444 | < | |
444 | > | |
445 | bool needsCG = true; | |
446 | if(info_->getNCutoffGroups() != info_->getNAtoms()) | |
447 | needsCG = false; | |
448 | < | |
446 | < | #ifdef IS_MPI |
447 | < | |
448 | > | |
449 | // gather up the atomic positions | |
450 | AtomPlanVectorRow->gather(snap_->atomData.position, | |
451 | atomRowData.position); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |