From 1e2ddab4e68c208b68fa6943dab5af0c0f1c9c21 Mon Sep 17 00:00:00 2001 From: mattijs Date: Mon, 4 Apr 2016 14:56:58 +0100 Subject: [PATCH] BUG: autoHexMesh: filtered patches mess up debug dumping --- .../autoMesh/autoHexMesh/meshRefinement/meshRefinement.C | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mesh/autoMesh/autoHexMesh/meshRefinement/meshRefinement.C b/src/mesh/autoMesh/autoHexMesh/meshRefinement/meshRefinement.C index 41ab2f387a..b43cfb1c97 100644 --- a/src/mesh/autoMesh/autoHexMesh/meshRefinement/meshRefinement.C +++ b/src/mesh/autoMesh/autoHexMesh/meshRefinement/meshRefinement.C @@ -2127,12 +2127,12 @@ Foam::labelList Foam::meshRefinement::meshedPatches() const if (patchI == -1) { - FatalErrorInFunction + WarningInFunction << "Problem : did not find patch " << meshedPatches_[i] << endl << "Valid patches are " << patches.names() - << abort(FatalError); + << endl; //abort(FatalError); } - if (!polyPatch::constraintType(patches[patchI].type())) + else if (!polyPatch::constraintType(patches[patchI].type())) { patchIDs.append(patchI); }