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:
@ -85,7 +85,7 @@ void Foam::parLagrangianRedistributor::findClouds
|
||||
|
||||
// Synchronise cloud names
|
||||
Pstream::combineGather(cloudNames, ListOps::uniqueEqOp<word>());
|
||||
Pstream::combineScatter(cloudNames);
|
||||
Pstream::broadcast(cloudNames);
|
||||
|
||||
objectNames.setSize(cloudNames.size());
|
||||
|
||||
@ -123,7 +123,7 @@ void Foam::parLagrangianRedistributor::findClouds
|
||||
forAll(objectNames, i)
|
||||
{
|
||||
Pstream::combineGather(objectNames[i], ListOps::uniqueEqOp<word>());
|
||||
Pstream::combineScatter(objectNames[i]);
|
||||
Pstream::broadcast(objectNames[i]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -54,7 +54,7 @@ Foam::wordList Foam::parLagrangianRedistributor::filterObjects
|
||||
// - Combine names from all processors
|
||||
|
||||
Pstream::combineGather(fieldNames, ListOps::uniqueEqOp<word>());
|
||||
Pstream::combineScatter(fieldNames);
|
||||
Pstream::broadcast(fieldNames);
|
||||
|
||||
// Sort for consistent order on all processors
|
||||
Foam::sort(fieldNames);
|
||||
|
||||
Reference in New Issue
Block a user