diff --git a/applications/utilities/mesh/manipulation/checkMesh/checkTopology.C b/applications/utilities/mesh/manipulation/checkMesh/checkTopology.C index 66bbaa23fc..9eb3b5b4f2 100644 --- a/applications/utilities/mesh/manipulation/checkMesh/checkTopology.C +++ b/applications/utilities/mesh/manipulation/checkMesh/checkTopology.C @@ -51,35 +51,22 @@ Foam::label Foam::checkTopology mesh.boundaryMesh().checkParallelSync(true); // Check names of zones are equal - if (checkSync(mesh.cellZones().names())) + mesh.cellZones().checkDefinition(true); + if (mesh.cellZones().checkParallelSync(true)) { noFailedChecks++; } - if (checkSync(mesh.faceZones().names())) + mesh.faceZones().checkDefinition(true); + if (mesh.faceZones().checkParallelSync(true)) { noFailedChecks++; } - if (checkSync(mesh.pointZones().names())) + mesh.pointZones().checkDefinition(true); + if (mesh.pointZones().checkParallelSync(true)) { noFailedChecks++; } - // Check contents of faceZones consistent - { - forAll(mesh.faceZones(), zoneI) - { - if (mesh.faceZones()[zoneI].checkParallelSync(false)) - { - Info<< " ***FaceZone " << mesh.faceZones()[zoneI].name() - << " is not correctly synchronised" - << " across coupled boundaries." - << " (coupled faces are either not both " - << " present in set or have same flipmap)" << endl; - noFailedChecks++; - } - } - } - { pointSet points(mesh, "unusedPoints", mesh.nPoints()/100); if (mesh.checkPoints(true, &points))