Go to the documentation of this file.
52 #ifndef Foam_vtk_InternalMeshWriter_H
53 #define Foam_vtk_InternalMeshWriter_H
103 void writeCellsLegacy(
const label pointOffset);
107 void writeCellsConnectivity(
const label pointOffset);
111 void writeCellsFaces(
const label pointOffset);
180 virtual bool beginFile(std::string title =
"");
Encapsulated combinations of output format options. This is primarily useful when defining the output...
Base class for VTK output writers that handle geometry and fields (eg, vtp, vtu data)....
A class for handling words, derived from Foam::string.
A class for handling file names.
vtk::outputOptions opts() const
void writeUniform(const word &fieldName, const Type &val)
void writePointData(const word &fieldName, const UList< Type > &field)
Mesh consisting of general polyhedral cells.
bool parallel() const noexcept
virtual bool beginPointData(label nFields=0)
const vtuCells & vtuCells_
void writeCellData(const word &fieldName, const UList< Type > &field)
@ INLINE_BASE64
XML inline base64, base64Formatter.
@ UNSTRUCTURED_GRID
"UnstructuredGrid"
virtual bool beginFile(std::string title="")
static word ext(vtk::outputOptions opts)
static bool & parRun() noexcept
virtual ~internalMeshWriter()=default
A deep-copy description of an OpenFOAM volume mesh in data structures suitable for VTK UnstructuredGr...
virtual bool beginCellData(label nFields=0)
word ext(vtk::fileTag contentType) const
Write an OpenFOAM volume (internal) geometry and internal fields as a vtu file or a legacy vtk file.
virtual bool writeGeometry()