Go to the documentation of this file.
51 #ifndef Foam_vtk_PatchMeshWriter_H
52 #define Foam_vtk_PatchMeshWriter_H
182 virtual bool beginFile(std::string title =
"");
Encapsulated combinations of output format options. This is primarily useful when defining the output...
virtual bool beginPointData(label nFields=0)
void writePolysLegacy(const label pointOffset)
Base class for VTK output writers that handle geometry and fields (eg, vtp, vtu data)....
Write OpenFOAM patches and patch fields in VTP or legacy vtk format.
static word ext(vtk::outputOptions opts)
A class for handling words, derived from Foam::string.
A class for handling file names.
vtk::outputOptions opts() const
patchMeshWriter(const patchMeshWriter &)=delete
Mesh consisting of general polyhedral cells.
bool parallel() const noexcept
void operator=(const patchMeshWriter &)=delete
virtual bool beginFile(std::string title="")
@ INLINE_BASE64
XML inline base64, base64Formatter.
virtual bool beginCellData(label nFields=0)
virtual ~patchMeshWriter()=default
void writeUniform(const word &fieldName, const Type &val)
static bool & parRun() noexcept
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
virtual bool writeGeometry()
const labelList & patchIDs() const noexcept
word ext(vtk::fileTag contentType) const
void writePolys(const label pointOffset)