ENH: mpi: use per-application communicator.

This commit is contained in:
mattijs
2020-12-08 13:57:42 +00:00
committed by Andrew Heather
parent 627d79dba6
commit 89f2cda3ab
42 changed files with 4245 additions and 597 deletions

View File

@ -1392,9 +1392,11 @@ void Foam::distributedTriSurfaceMesh::surfaceSide
map.subMap(),
map.subHasFlip(),
volType,
zero,
volumeCombineOp(),
noOp(), // no flipping
zero
UPstream::msgType(),
map.comm()
);
if (debug)
@ -3193,9 +3195,11 @@ void Foam::distributedTriSurfaceMesh::findNearest
map1.subMap(),
map1.subHasFlip(),
nearestInfo,
nearestZero,
nearestEqOp(),
noOp(), // no flipping
nearestZero
UPstream::msgType(),
map1.comm()
);
@ -3351,9 +3355,11 @@ void Foam::distributedTriSurfaceMesh::findNearest
map2.subMap(),
map2.subHasFlip(),
localBest,
nearestZero,
nearestEqOp(),
noOp(), // no flipping
nearestZero
UPstream::msgType(),
map2.comm()
);
// Combine with nearestInfo
@ -4183,9 +4189,11 @@ void Foam::distributedTriSurfaceMesh::getVolumeType
map.subMap(),
map.subHasFlip(),
volType,
zero,
volumeCombineOp(),
noOp(), // no flipping
zero
UPstream::msgType(),
map.comm()
);