mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: broadcast instead of combineScatter/listCombineScatter/mapCombineScatter
- these are the same thing now and 'broadcast' expresses the intention more directly/consistently
This commit is contained in:
@ -266,7 +266,7 @@ bool Foam::areaWrite::write()
|
||||
if (Pstream::parRun())
|
||||
{
|
||||
Pstream::mapCombineGather(selected, HashSetOps::plusEqOp<word>());
|
||||
Pstream::mapCombineScatter(selected);
|
||||
Pstream::broadcast(selected);
|
||||
}
|
||||
|
||||
missed.clear();
|
||||
|
||||
@ -78,7 +78,7 @@ void Foam::areaWrite::performAction
|
||||
{
|
||||
// Synchronize names
|
||||
Pstream::combineGather(fieldNames, ListOps::uniqueEqOp<word>());
|
||||
Pstream::combineScatter(fieldNames);
|
||||
Pstream::broadcast(fieldNames);
|
||||
}
|
||||
|
||||
// Sort for consistent order on all processors
|
||||
|
||||
Reference in New Issue
Block a user