diff --git a/src/OpenFOAM/primitives/globalIndexAndTransform/globalIndexAndTransform.C b/src/OpenFOAM/primitives/globalIndexAndTransform/globalIndexAndTransform.C index d5e48bcc51..67a285f3d7 100644 --- a/src/OpenFOAM/primitives/globalIndexAndTransform/globalIndexAndTransform.C +++ b/src/OpenFOAM/primitives/globalIndexAndTransform/globalIndexAndTransform.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -139,15 +139,19 @@ void Foam::globalIndexAndTransform::determineTransforms() // Note: special check for unordered cyclics. These are in fact // transform bcs and should probably be split off. + // Note: We don't want to be finding transforms for patches marked as + // coincident full match. These should have no transform by definition. if ( isA(pp) && !( isA(pp) - && ( - refCast(pp).transform() - == cyclicPolyPatch::NOORDERING - ) + && refCast(pp).transform() + == cyclicPolyPatch::NOORDERING + ) + && !( + refCast(pp).transform() + == coupledPolyPatch::COINCIDENTFULLMATCH ) ) { @@ -319,15 +323,19 @@ void Foam::globalIndexAndTransform::determinePatchTransformSign() // Note: special check for unordered cyclics. These are in fact // transform bcs and should probably be split off. + // Note: We don't want to be finding transforms for patches marked as + // coincident full match. These should have no transform by definition. if ( isA(pp) && !( isA(pp) - && ( - refCast(pp).transform() - == cyclicPolyPatch::NOORDERING - ) + && refCast(pp).transform() + == cyclicPolyPatch::NOORDERING + ) + && !( + refCast(pp).transform() + == coupledPolyPatch::COINCIDENTFULLMATCH ) ) {