patchInteractionDataList: treat cyclicAMIPolyPatch as a coupled patch

Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1949
This commit is contained in:
Henry Weller
2016-01-03 15:39:44 +00:00
parent 97301ef754
commit a9888b215d

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -26,6 +26,7 @@ License
#include "patchInteractionDataList.H" #include "patchInteractionDataList.H"
#include "stringListOps.H" #include "stringListOps.H"
#include "emptyPolyPatch.H" #include "emptyPolyPatch.H"
#include "cyclicAMIPolyPatch.H"
// * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * * //
@ -73,6 +74,7 @@ Foam::patchInteractionDataList::patchInteractionDataList
( (
!pp.coupled() !pp.coupled()
&& !isA<emptyPolyPatch>(pp) && !isA<emptyPolyPatch>(pp)
&& !isA<cyclicAMIPolyPatch>(pp)
&& applyToPatch(pp.index()) < 0 && applyToPatch(pp.index()) < 0
) )
{ {