mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: use returnReduceAnd(), returnReduceOr() functions
DOC: document which MPI send/recv are associated with commType
This commit is contained in:
committed by
Andrew Heather
parent
473e14418a
commit
70208a7399
@ -3782,7 +3782,7 @@ void Foam::distributedTriSurfaceMesh::findLineAll
|
||||
|
||||
|
||||
label iter = 0;
|
||||
while (returnReduce(e0.size(), sumOp<label>()) > 0)
|
||||
while (returnReduceOr(e0.size()))
|
||||
{
|
||||
findLine
|
||||
(
|
||||
@ -4131,11 +4131,7 @@ void Foam::distributedTriSurfaceMesh::getVolumeType
|
||||
// status, all others will return UNKNOWN. Make INSIDE/OUTSIDE win.
|
||||
outsideVolType_ = volumeType
|
||||
(
|
||||
returnReduce
|
||||
(
|
||||
label(outsideVolTypes[0]),
|
||||
maxOp<label>()
|
||||
)
|
||||
returnReduce(int(outsideVolTypes[0]), maxOp<int>())
|
||||
);
|
||||
|
||||
if (debug)
|
||||
|
||||
Reference in New Issue
Block a user