BUG: globalIndex gather/scatter fails with multi-world (fixes #2706)
- was using UPstream::procIDs(), which returns the sub-ranks with respect to the parent communicator. This is normally just an identity list (single-world) but with multi-world the indexing is incorrect. Use UPstream::allProcs() instead.
Showing
- src/OpenFOAM/parallel/globalIndex/globalIndex.H 2 additions, 2 deletionssrc/OpenFOAM/parallel/globalIndex/globalIndex.H
- src/OpenFOAM/parallel/globalIndex/globalIndexTemplates.C 7 additions, 7 deletionssrc/OpenFOAM/parallel/globalIndex/globalIndexTemplates.C
- src/parallel/distributed/distributedTriSurfaceMesh/distributedTriSurfaceMesh.C 4 additions, 4 deletions...ted/distributedTriSurfaceMesh/distributedTriSurfaceMesh.C
Please register or sign in to comment