12 const dictionary& dict,
13 const autoPtr<surfaceWriter>& writer
16 label noFailedChecks = 0;
19 faceSet faces(mesh,
"meshQualityFaces", mesh.nFaces()/100+1);
20 motionSmoother::checkMesh(
false, mesh, dict, faces);
28 Info<<
" <<Writing " << nFaces
29 <<
" faces in error to set " << faces.name() <<
endl;
30 faces.instance() = mesh.pointsInstance();
39 return noFailedChecks;
virtual Ostream & write(const char)=0
Write character.
FvWallInfoData< WallInfo, label > label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void mergeAndWrite(const polyMesh &mesh, const surfaceWriter &setWriter, const word &name, const indirectPrimitivePatch setPatch, const fileName &outputDir)
Generate merged surface on master and write. Needs input patch.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Holds information (coordinate and normal) regarding nearest wall point.
label checkMeshQuality(const polyMesh &, const dictionary &, const autoPtr< surfaceWriter > &)
T returnReduce(const T &Value, const BinaryOp &bop, const int tag=Pstream::msgType(), const label comm=UPstream::worldComm)