ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/src/parallel/ForceMatrixDecomposition.cpp
(Generate patch)

Comparing trunk/src/parallel/ForceMatrixDecomposition.cpp (file contents):
Revision 2057 by gezelter, Tue Mar 3 15:22:26 2015 UTC vs.
Revision 2061 by gezelter, Tue Mar 3 16:24:44 2015 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines