ENH: viewFactorsGen: exclude AMI

This commit is contained in:
mattijs
2013-05-16 11:28:02 +01:00
parent fe32d73d5a
commit 5f68e587e6
2 changed files with 3 additions and 1 deletions

View File

@ -26,7 +26,8 @@ dict.add("mergeDistance", SMALL);
labelHashSet includePatches; labelHashSet includePatches;
forAll(patches, patchI) forAll(patches, patchI)
{ {
if (!isA<processorPolyPatch>(patches[patchI])) const polyPatch& pp = patches[patchI];
if (!pp.coupled() && !isA<cyclicAMIPolyPatch>(pp))
{ {
includePatches.insert(patchI); includePatches.insert(patchI);
} }

View File

@ -44,6 +44,7 @@ Description
#include "volFields.H" #include "volFields.H"
#include "surfaceFields.H" #include "surfaceFields.H"
#include "distributedTriSurfaceMesh.H" #include "distributedTriSurfaceMesh.H"
#include "cyclicAMIPolyPatch.H"
#include "triSurfaceTools.H" #include "triSurfaceTools.H"
#include "mapDistribute.H" #include "mapDistribute.H"