Go to the documentation of this file. 1 #include "checkMeshQuality.H"
7 #include "checkTools.H"
12 const dictionary&
dict,
13 const autoPtr<surfaceWriter>& writer
16 label noFailedChecks = 0;
19 faceSet faces(
mesh,
"meshQualityFaces",
mesh.nFaces()/100+1);
28 Info<<
" <<Writing " << nFaces
29 <<
" faces in error to set " << faces.name() <<
endl;
30 faces.instance() =
mesh.pointsInstance();
39 return noFailedChecks;
bool checkMesh(const polyMeshGen &mesh, const bool report)
Check mesh for correctness. Returns false for no error.
T returnReduce(const T &Value, const BinaryOp &bop, const int tag=Pstream::msgType(), const label comm=UPstream::worldComm)
Ostream & endl(Ostream &os)
Add newline and flush stream.
label checkMeshQuality(const polyMesh &, const dictionary &, const autoPtr< surfaceWriter > &)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void mergeAndWrite(const surfaceWriter &, const faceSet &)
Write vtk representation of (assembled) faceSet to vtk file in.