#include "checkGeometry.H" #include "polyMesh.H" #include "globalMeshData.H" #include "cellSet.H" #include "faceSet.H" #include "pointSet.H" #include "EdgeMap.H" Foam::label Foam::checkGeometry(const polyMesh& mesh, const bool allGeometry) { label noFailedChecks = 0; Info<< "\nChecking geometry..." << endl; // Get a small relative length from the bounding box const boundBox& globalBb = mesh.bounds(); Info<< " Overall domain bounding box " << globalBb.min() << " " << globalBb.max() << endl; // Min length scalar minDistSqr = magSqr(1e-6 * globalBb.span()); // Non-empty directions const Vector