Go to the documentation of this file.
49 #ifndef Foam_vtk_GenericPatchWriter_H
50 #define Foam_vtk_GenericPatchWriter_H
65 template<
class PatchType>
136 const PatchType&
patch() const noexcept
143 virtual bool beginFile(std::string title =
"surface")
Encapsulated combinations of output format options. This is primarily useful when defining the output...
virtual bool writeGeometry()
Write patch topology.
A class for handling file names.
vtk::outputOptions opts() const
The output options in use.
Write concrete PrimitivePatch faces/points (optionally with fields) as a vtp file or a legacy vtk fil...
bool writePolyGeometry(const pointField &points, const faceList &faces)
virtual bool beginFile(std::string title="")
Write file header (non-collective)
bool writeProcIDs()
Write processor ids for each poly as CellData.
bool parallel() const noexcept
Parallel output requested?
virtual bool beginFile(std::string title="surface")
Write file header (non-collective)
XML inline base64, base64Formatter.
const PatchType & patch() const noexcept
Reference to the originating face/points patch.
static bool & parRun() noexcept
Test if this a parallel run.
bool writeProcIDs(const label nValues)
Write nValues of processor ids as CellData (no-op in serial)
label nLocalPolys_
Local number of polys (faces)
Write faces/points (optionally with fields) as a vtp file or a legacy vtk file.
virtual ~GenericPatchWriter()=default
Destructor.