diff --git a/applications/utilities/preProcessing/viewFactorsGen/searchingEngine.H b/applications/utilities/preProcessing/viewFactorsGen/searchingEngine.H index ef5b264a54278ce4b9f8eecb0a9e3cb3183668aa..8c94f372e245376133ee658e950e21b702f92a37 100644 --- a/applications/utilities/preProcessing/viewFactorsGen/searchingEngine.H +++ b/applications/utilities/preProcessing/viewFactorsGen/searchingEngine.H @@ -27,7 +27,12 @@ labelHashSet includePatches; forAll(patches, patchI) { const polyPatch& pp = patches[patchI]; - if (!pp.coupled() && !isA<cyclicAMIPolyPatch>(pp)) + if + ( + !pp.coupled() + && !isA<cyclicAMIPolyPatch>(pp) + && !isA<emptyPolyPatch>(pp) + ) { includePatches.insert(patchI); }