From b8eb3cae7d0d1fc719727d181007986a03c9daa7 Mon Sep 17 00:00:00 2001 From: mattijs Date: Fri, 30 Mar 2012 09:56:25 +0100 Subject: [PATCH] ENH: renumberMesh: do not print frontWidth if not calculated --- .../mesh/manipulation/renumberMesh/renumberMesh.C | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/applications/utilities/mesh/manipulation/renumberMesh/renumberMesh.C b/applications/utilities/mesh/manipulation/renumberMesh/renumberMesh.C index 8910645b5c..5f724095ca 100644 --- a/applications/utilities/mesh/manipulation/renumberMesh/renumberMesh.C +++ b/applications/utilities/mesh/manipulation/renumberMesh/renumberMesh.C @@ -641,9 +641,12 @@ int main(int argc, char *argv[]) Info<< "Mesh size: " << mesh.globalData().nTotalCells() << nl << "Before renumbering :" << nl << " band : " << band << nl - << " profile : " << profile << nl - << " rms frontwidth : " << rmsFrontwidth << nl - << endl; + << " profile : " << profile << nl; + if (doFrontWidth) + { + Info<< " rms frontwidth : " << rmsFrontwidth << nl; + } + Info<< endl; bool sortCoupledFaceCells = false; bool writeMaps = false;