From b5f96306ea026b8e54d0f7e90d237fbdb5302202 Mon Sep 17 00:00:00 2001 From: Prashant Date: Thu, 31 Aug 2017 17:41:50 +0530 Subject: [PATCH] ENH: checkMesh: output information about zones --- .../manipulation/checkMesh/checkTopology.C | 241 +++++++++--------- 1 file changed, 126 insertions(+), 115 deletions(-) diff --git a/applications/utilities/mesh/manipulation/checkMesh/checkTopology.C b/applications/utilities/mesh/manipulation/checkMesh/checkTopology.C index 81a18770ae..b0ddecd813 100644 --- a/applications/utilities/mesh/manipulation/checkMesh/checkTopology.C +++ b/applications/utilities/mesh/manipulation/checkMesh/checkTopology.C @@ -35,9 +35,78 @@ License #include "processorPolyPatch.H" #include "surfaceWriter.H" #include "checkTools.H" +#include "treeBoundBox.H" // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +template +void Foam::checkPatch +( + const bool allGeometry, + const word& name, + const PatchType& pp, + pointSet& points +) +{ + Info<< " " + << setw(20) << name + << setw(9) << returnReduce(pp.size(), sumOp