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:
@ -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_);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user