Skip to content
Snippets Groups Projects
Commit 56e9699c authored by Henry's avatar Henry
Browse files

viewFactorsGen: Add support for 2D slab geometries

Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1649
parent 4ee86fd7
No related merge requests found
...@@ -27,7 +27,12 @@ labelHashSet includePatches; ...@@ -27,7 +27,12 @@ labelHashSet includePatches;
forAll(patches, patchI) forAll(patches, patchI)
{ {
const polyPatch& pp = 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); includePatches.insert(patchI);
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment