diff --git a/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/processorCyclic/processorCyclicPolyPatch.C b/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/processorCyclic/processorCyclicPolyPatch.C index 7e45266d241298f134d0232c163651160fafadda..137339e631ee2d9c3153883b8f52430583e2fc70 100644 --- a/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/processorCyclic/processorCyclicPolyPatch.C +++ b/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/processorCyclic/processorCyclicPolyPatch.C @@ -150,13 +150,13 @@ int Foam::processorCyclicPolyPatch::tag() const referPatch() ); - if (cycPatch.owner()) + if (owner()) { - tag_ = Hash<word>()(cycPatch.name()); + tag_ = Hash<word>()(cycPatch.name()) % 32768u; } else { - tag_ = Hash<word>()(cycPatch.neighbPatch().name()); + tag_ = Hash<word>()(cycPatch.neighbPatch().name()) % 32768u; } if (tag_ == Pstream::msgType() || tag_ == -1)