From b6c8b5ef6880ba1939cec2bed50c812dcba649f4 Mon Sep 17 00:00:00 2001 From: mattijs Date: Wed, 13 Oct 2010 18:14:30 +0100 Subject: [PATCH] ENH: cyclicPolyPatch : debug only on owner. --- .../polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.C b/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.C index aafabecbb2..f86bfa49de 100644 --- a/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.C +++ b/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.C @@ -126,7 +126,7 @@ void Foam::cyclicPolyPatch::calcTransforms const UList& half1Areas ) { - if (debug) + if (debug && owner()) { fileName casePath(boundaryMesh().mesh().time().path()); {