BUG: autoHexMesh: filtered patches mess up debug dumping

This commit is contained in:
mattijs 2016-04-04 14:56:58 +01:00
parent a7a4141c76
commit 1e2ddab4e6

View File

@ -2127,12 +2127,12 @@ Foam::labelList Foam::meshRefinement::meshedPatches() const
if (patchI == -1) if (patchI == -1)
{ {
FatalErrorInFunction WarningInFunction
<< "Problem : did not find patch " << meshedPatches_[i] << "Problem : did not find patch " << meshedPatches_[i]
<< endl << "Valid patches are " << patches.names() << 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); patchIDs.append(patchI);
} }