Commit e9d5f929 authored by mattijs's avatar mattijs
Browse files

synchronisation of zones

parent 987b894e
......@@ -205,7 +205,7 @@ Foam::label Foam::meshRefinement::getBafflePatch
WarningIn
(
"meshRefinement::getBafflePatch(const labelList& const label)"
"meshRefinement::getBafflePatch(const labelList&, const label)"
) << "Could not find boundary face neighbouring internal face "
<< faceI << " with face centre " << mesh_.faceCentres()[faceI]
<< nl
......@@ -1854,16 +1854,15 @@ void Foam::meshRefinement::findCellZoneTopo
{
break;
}
}
// Synchronise regionToCellZone.
// Note:
// - region numbers are identical on all processors
// - keepRegion is identical ,,
// - cellZones are identical ,,
Pstream::listCombineGather(regionToCellZone, maxEqOp<label>());
Pstream::listCombineScatter(regionToCellZone);
// Synchronise regionToCellZone.
// Note:
// - region numbers are identical on all processors
// - keepRegion is identical ,,
// - cellZones are identical ,,
Pstream::listCombineGather(regionToCellZone, maxEqOp<label>());
Pstream::listCombineScatter(regionToCellZone);
}
forAll(regionToCellZone, regionI)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment