ENH: provide MPI native minOp, maxOp reduce multiple values

- consistent with sumOp

ENH: globalIndex with gatherNonLocal tag, and use leading dispatch tags

- useful for gather/write where the master data can be written
 separately.  Leading vs trailing dispatch tags for more similarity to
 other C++ conventions.
This commit is contained in:
Mark Olesen
2022-11-11 18:19:22 +01:00
parent beea22b2f0
commit 25e874a4f0
19 changed files with 363 additions and 144 deletions

View File

@ -194,10 +194,15 @@ triSurface triangulate
// CGAL : every processor has whole surface
globalIndex globalFaceIdx(surface.size(), globalIndex::gatherOnly());
globalIndex globalPointIdx
const globalIndex globalFaceIdx
(
surface.points().size(), globalIndex::gatherOnly()
globalIndex::gatherOnly{},
surface.size()
);
const globalIndex globalPointIdx
(
globalIndex::gatherOnly{},
surface.points().size()
);
List<labelledTri> globalSurfaceTris(globalFaceIdx.gather(surface));