Go to the documentation of this file.
46 if (isA<pointSet>(set))
51 dynamicCast<const pointSet&>(set),
57 else if (isA<faceSet>(set))
62 dynamicCast<const faceSet&>(set),
68 else if (isA<cellSet>(set))
73 dynamicCast<const cellSet&>(set),
81 <<
"No VTK writer for '" << set.type() <<
"' topoSet" <<
nl <<
endl;
Encapsulated combinations of output format options. This is primarily useful when defining the output...
A class for handling file names.
bool writeCellSetFaces(const polyMesh &mesh, const cellSet &set, const vtk::outputOptions opts, const fileName &file, bool parallel=Pstream::parRun())
Write perimeter faces of cellset to vtk polydata file.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Mesh consisting of general polyhedral cells.
bool writeTopoSet(const polyMesh &mesh, const topoSet &set, const vtk::outputOptions opts, const fileName &file, bool parallel=Pstream::parRun())
Dispatch to vtk::writeCellSetFaces, vtk::writeFaceSet, vtk::writePointSet.
General set of labels of mesh quantity (points, cells, faces).
bool writePointSet(const polyMesh &mesh, const pointSet &set, const vtk::outputOptions opts, const fileName &file, bool parallel=Pstream::parRun())
Write pointSet to VTK polydata file.
bool writeFaceSet(const polyMesh &mesh, const faceSet &set, const vtk::outputOptions opts, const fileName &file, bool parallel=Pstream::parRun())
Write faceSet as VTK polydata file.
Write topoSet in VTK format.
#define WarningInFunction
Report a warning using Foam::Warning.