viewFactorsGen: Add support for 2D slab geometries
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1649
This commit is contained in:
parent
b191988d89
commit
678ca6e90c
1 changed files with 6 additions and 1 deletions
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue