From cfc8d7a190f37737591bf924ff2cb2a6bc16d0be Mon Sep 17 00:00:00 2001
From: mattijs <mattijs>
Date: Tue, 25 Oct 2011 10:25:17 +0100
Subject: [PATCH] ENH: checkMesh: output faceSet from faceFaces check
 (partially duplicate faces)

---
 .../mesh/manipulation/checkMesh/checkTopology.C        | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/applications/utilities/mesh/manipulation/checkMesh/checkTopology.C b/applications/utilities/mesh/manipulation/checkMesh/checkTopology.C
index a6ae8b76817..a01fa988d23 100644
--- a/applications/utilities/mesh/manipulation/checkMesh/checkTopology.C
+++ b/applications/utilities/mesh/manipulation/checkMesh/checkTopology.C
@@ -178,12 +178,14 @@ Foam::label Foam::checkTopology
         if (mesh.checkFaceFaces(true, &faces))
         {
             noFailedChecks++;
+        }
 
-            label nFaces = returnReduce(faces.size(), sumOp<label>());
-
+        label nFaces = returnReduce(faces.size(), sumOp<label>());
+        if (nFaces > 0)
+        {
             Info<< "  <<Writing " << nFaces
-                << " faces with incorrect edges to set " << faces.name()
-                << endl;
+                << " faces with non-standard edge connectivity to set "
+                << faces.name() << endl;
             faces.instance() = mesh.pointsInstance();
             faces.write();
         }
-- 
GitLab