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); }