From ddc1b8fe0a6546a171cd61c01cbd2e326414b959 Mon Sep 17 00:00:00 2001 From: Henry Date: Sat, 1 Feb 2014 20:35:12 +0000 Subject: [PATCH] symmetryPlanePolyPatch: calculate n_ in initGeometry --- .../symmetryPlane/symmetryPlanePolyPatch.C | 79 +++++++++---------- .../symmetryPlane/symmetryPlanePolyPatch.H | 9 ++- 2 files changed, 45 insertions(+), 43 deletions(-) diff --git a/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/symmetryPlane/symmetryPlanePolyPatch.C b/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/symmetryPlane/symmetryPlanePolyPatch.C index 34af0b708c..d3c78904b9 100644 --- a/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/symmetryPlane/symmetryPlanePolyPatch.C +++ b/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/symmetryPlane/symmetryPlanePolyPatch.C @@ -37,6 +37,40 @@ namespace Foam addToRunTimeSelectionTable(polyPatch, symmetryPlanePolyPatch, dictionary); } + +// * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * * // + +void Foam::symmetryPlanePolyPatch::calcGeometry(PstreamBuffers&) +{ + if (returnReduce(size(), sumOp