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:
Mark Olesen
2022-03-10 21:54:52 +01:00
parent de8ef5332d
commit 62fc3bbc33
68 changed files with 153 additions and 148 deletions

View File

@ -1065,8 +1065,8 @@ void Foam::functionObjects::forces::calcForcesMoment()
Pstream::listCombineGather(force_, plusEqOp<vectorField>());
Pstream::listCombineGather(moment_, plusEqOp<vectorField>());
Pstream::listCombineScatter(force_);
Pstream::listCombineScatter(moment_);
Pstream::broadcast(force_);
Pstream::broadcast(moment_);
}

View File

@ -469,7 +469,7 @@ void Foam::functionObjects::propellerInfo::updateSampleDiskCells()
}
Pstream::listCombineGather(pointMask_, orEqOp<bool>());
Pstream::listCombineScatter(pointMask_);
Pstream::broadcast(pointMask_);
}
@ -775,7 +775,7 @@ Foam::tmp<Foam::Field<Type>> Foam::functionObjects::propellerInfo::interpolate
}
Pstream::listCombineGather(field, maxEqOp<Type>());
Pstream::listCombineScatter(field);
Pstream::broadcast(field);
return tfield;
}