Go to the documentation of this file.
53 label noFailedChecks(0);
65 if( noFailedChecks == 0 )
74 Info<<
"Failed " << noFailedChecks <<
" mesh geometry checks." <<
endl;
82 label noFailedChecks(0);
89 if( noFailedChecks == 0 )
98 Info<<
"Failed " << noFailedChecks <<
" mesh topology checks." <<
endl;
118 Info <<
"Failed some mesh checks." <<
endl;
bool checkClosedBoundary(const polyMeshGen &, const bool report=false)
Check boundary closedness.
bool checkGeometry(const polyMeshGen &mesh, const bool report)
Check mesh geometry (& implicitly topology) for correctness.
bool checkMesh(const polyMeshGen &mesh, const bool report)
Check mesh for correctness. Returns false for no error.
void checkFaceSkewness(const polyMeshGen &, scalarField &, const boolList *changedFacePtr=NULL)
Check face skewness.
A set of functions used for mesh checking mesh quality.
bool checkUpperTriangular(const polyMeshGen &, const bool report=false, labelHashSet *setPtr=NULL)
Check face ordering.
Ostream & endl(Ostream &os)
Add newline and flush stream.
bool checkFaceAreas(const polyMeshGen &, const bool report=false, const scalar minFaceArea=VSMALL, labelHashSet *setPtr=NULL, const boolList *changedFacePtr=NULL)
Check for negative face areas.
bool checkFaceVertices(const polyMeshGen &, const bool report=false, labelHashSet *setPtr=NULL)
Check uniqueness of face vertices.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
bool checkCellsZipUp(const polyMeshGen &, const bool report=false, labelHashSet *setPtr=NULL)
Check cell zip-up.
void checkFaceDotProduct(const polyMeshGen &, scalarField &, const boolList *changedFacePtr=NULL)
Check for non-orthogonality.
bool checkPoints(const polyMeshGen &, const bool report=false, labelHashSet *setPtr=NULL)
Check for unused points.
bool checkCellPartTetrahedra(const polyMeshGen &, const bool report=false, const scalar minPartTet=VSMALL, labelHashSet *setPtr=NULL, const boolList *changedFacePtr=NULL)
bool checkTopology(const polyMeshGen &mesh, const bool report)
Check mesh topology for correctness. Returns false for no error.
bool checkFacePyramids(const polyMeshGen &, const bool report=false, const scalar minPyrVol=-SMALL, labelHashSet *setPtr=NULL, const boolList *changedFacePtr=NULL)
Check face pyramid volume.
void checkFaceUniformity(const polyMeshGen &, scalarField &, const boolList *changedFacePtr=NULL)
Check face uniformity.
bool checkCellVolumes(const polyMeshGen &, const bool report=false, labelHashSet *setPtr=NULL)
Check for negative cell volumes.
Various functions to operate on Lists.
bool checkClosedCells(const polyMeshGen &, const bool report=false, const scalar aspectWarn=1000, labelHashSet *setPtr=NULL)
Check cells for closedness.