mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: reduce bounding box list via list-combine-gather/scatter
This commit is contained in:
@ -909,11 +909,10 @@ Foam::distributedTriSurfaceMesh::independentlyDistributedBbs
|
||||
// Now combine for all processors and convert to correct format.
|
||||
forAll(bbs, procI)
|
||||
{
|
||||
forAll(bbs[procI], i)
|
||||
{
|
||||
bbs[procI][i].reduce();
|
||||
}
|
||||
Pstream::listCombineGather(bbs[procI], plusEqOp<boundBox>());
|
||||
Pstream::listCombineScatter(bbs[procI]);
|
||||
}
|
||||
|
||||
return bbs;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user