From a84661c2045d814abfdae724e0ea481a1ecb37dd Mon Sep 17 00:00:00 2001 From: laurence Date: Mon, 30 Jan 2012 15:36:30 +0000 Subject: [PATCH] ENH: checkMesh: Add output for the average number of faces per cell Works in parallel --- .../manipulation/checkMesh/printMeshStats.C | 49 +++++++++++++------ 1 file changed, 33 insertions(+), 16 deletions(-) diff --git a/applications/utilities/mesh/manipulation/checkMesh/printMeshStats.C b/applications/utilities/mesh/manipulation/checkMesh/printMeshStats.C index 2179e67b0c..2951cab590 100644 --- a/applications/utilities/mesh/manipulation/checkMesh/printMeshStats.C +++ b/applications/utilities/mesh/manipulation/checkMesh/printMeshStats.C @@ -8,6 +8,7 @@ #include "pyrMatcher.H" #include "tetWedgeMatcher.H" #include "tetMatcher.H" +#include "IOmanip.H" void Foam::printMeshStats(const polyMesh& mesh, const bool allTopology) @@ -62,22 +63,19 @@ void Foam::printMeshStats(const polyMesh& mesh, const bool allTopology) << nInternalEdges-nInternal1Edges << nl; } - Info<< " faces: " - << returnReduce(mesh.faces().size(), sumOp