mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: globalIndex with direct gather/broadcast
- less communication than gatherList/scatterList ENH: refine send granularity in Pstream::exchange STYLE: ensure PstreamBuffers and defaultCommsType agree - simpler loops for lduSchedule
This commit is contained in:
@ -999,16 +999,16 @@ void correctCoupledBoundaryConditions(fvMesh& mesh)
|
||||
const lduSchedule& patchSchedule =
|
||||
fld.mesh().globalData().patchSchedule();
|
||||
|
||||
forAll(patchSchedule, patchEvali)
|
||||
for (const auto& schedEval : patchSchedule)
|
||||
{
|
||||
const label patchi = patchSchedule[patchEvali].patch;
|
||||
const label patchi = schedEval.patch;
|
||||
const auto& fvp = mesh.boundary()[patchi];
|
||||
auto& pfld = bfld[patchi];
|
||||
|
||||
const auto* ppPtr = isA<CoupledPatchType>(fvp);
|
||||
if (ppPtr && ppPtr->coupled())
|
||||
{
|
||||
if (patchSchedule[patchEvali].init)
|
||||
if (schedEval.init)
|
||||
{
|
||||
pfld.initEvaluate(Pstream::commsTypes::scheduled);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user