13 autoPtr<surfaceWriter>&
writer
16 label noFailedChecks = 0;
19 faceSet faces(
mesh,
"meshQualityFaces",
mesh.nFaces()/100+1);
20 motionSmoother::checkMesh(
false,
mesh,
dict, faces);
22 label nFaces =
returnReduce(faces.size(), sumOp<label>());
28 Info<<
" <<Writing " << nFaces
29 <<
" faces in error to set " << faces.name() <<
endl;
30 faces.instance() =
mesh.pointsInstance();
40 return noFailedChecks;
vtk::lineWriter writer(edgeCentres, edgeList::null(), fileName(aMesh.time().globalPath()/(vtkBaseFileName+"-edgesCentres")))
return returnReduce(nRefine-oldNRefine, sumOp< label >())
label checkMeshQuality(const polyMesh &mesh, const dictionary &dict, autoPtr< surfaceWriter > &writer)
messageStream Info
Information stream (stdout output on master, null elsewhere).
Ostream & endl(Ostream &os)
Add newline and flush stream.
void mergeAndWrite(const polyMesh &mesh, surfaceWriter &writer, const word &name, const indirectPrimitivePatch &setPatch, const fileName &outputDir)
Generate merged surface on master and write. Needs input patch.