40#ifndef Foam_vtk_WriteTopoSet_H
41#define Foam_vtk_WriteTopoSet_H
static bool parRun(const bool on) noexcept
Set as parallel run on/off.
A collection of cell labels.
A class for handling file names.
Mesh consisting of general polyhedral cells.
General set of labels of mesh quantity (points, cells, faces).
Encapsulated combinations of output format options. This is primarily useful when defining the output...
Namespace for handling VTK output. Contains classes and functions for writing VTK file content.
bool writeFaceSet(const polyMesh &mesh, const faceSet &set, const vtk::outputOptions opts, const fileName &file, bool parallel=UPstream::parRun())
Write faceSet as VTK polydata file.
bool writePointSet(const polyMesh &mesh, const pointSet &set, const vtk::outputOptions opts, const fileName &file, bool parallel=UPstream::parRun())
Write pointSet to VTK polydata file.
bool writeTopoSet(const polyMesh &mesh, const topoSet &set, const vtk::outputOptions opts, const fileName &file, bool parallel=UPstream::parRun())
Dispatch to vtk::writeCellSetFaces, vtk::writeFaceSet, vtk::writePointSet.
bool writeCellSetFaces(const polyMesh &mesh, const cellSet &set, const vtk::outputOptions opts, const fileName &file, bool parallel=UPstream::parRun())
Write perimeter faces of cellset to vtk polydata file.