#include "checkTopology.H" #include "polyMesh.H" #include "Time.H" #include "regionSplit.H" #include "cellSet.H" #include "faceSet.H" #include "pointSet.H" #include "IOmanip.H" Foam::label Foam::checkTopology(const polyMesh& mesh, bool fullTopology) { label noFailedChecks = 0; Pout<< "Checking topology..." << endl; // Check if the boundary definition is unique mesh.boundaryMesh().checkDefinition(true); // Check if the boundary processor patches are correct mesh.boundaryMesh().checkParallelSync(true); { pointSet points(mesh, "unusedPoints", mesh.nPoints()/100); if (mesh.checkPoints(true, &points)) { noFailedChecks++; Pout<< " < 0) { Pout<< " <