BUG: snappyHexMesh: synchronise decision

This commit is contained in:
mattijs
2013-06-17 16:45:24 +01:00
parent 1f64e5c7f5
commit fc199052fd
2 changed files with 15 additions and 10 deletions

View File

@ -958,13 +958,15 @@ Foam::labelList Foam::meshRefinement::markFacesOnProblemCells
// Because of isCollapsedFace one side can decide not to baffle whereas
// the other side does so sync. Baffling is prefered over not baffling.
syncTools::syncFaceList
(
mesh_,
facePatch,
maxEqOp<label>()
);
if (checkCollapse) // Or always?
{
syncTools::syncFaceList
(
mesh_,
facePatch,
maxEqOp<label>()
);
}
Info<< "markFacesOnProblemCells : marked "
<< returnReduce(nBaffleFaces, sumOp<label>())