viewFactorsGen: Add support for 2D slab geometries

Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1649
This commit is contained in:
Henry
2015-04-11 11:44:02 +01:00
parent b191988d89
commit 678ca6e90c

View File

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