51#ifndef Foam_vtk_internalWriter_H
52#define Foam_vtk_internalWriter_H
140 template<
class Type,
template<
class>
class PatchField>
154 template<
class Type,
template<
class>
class PatchField>
186 #include "foamVtkInternalWriter.txx"
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Generic GeometricField class.
static bool parRun(const bool on) noexcept
Set as parallel run on/off.
A class for handling file names.
Mesh consisting of general polyhedral cells.
Interpolate from cell centres to points (vertices) using inverse distance weighting.
vtk::outputOptions opts() const noexcept
The output options in use.
bool parallel() const noexcept
Parallel output requested?
Write an OpenFOAM volume (internal) geometry and internal fields as a vtu file or a legacy vtk file.
internalMeshWriter(const internalMeshWriter &)=delete
File extension for given output type.
virtual ~internalWriter()=default
Destructor.
void write(const GeometricField< Type, PatchField, volMesh > &field)
Write the volume field (internal part).
void write(const DimensionedField< Type, volMesh > &vfield, const volPointInterpolation &pInterp)
Write internal field with point interpolation.
void write(const GeometricField< Type, fvPatchField, volMesh > &vfield, const volPointInterpolation &pInterp)
Write volume field with point interpolation.
internalWriter(const internalWriter &)=delete
No copy construct.
internalWriter(const polyMesh &mesh, const vtk::vtuCells &cells, const vtk::outputOptions opts=vtk::formatType::INLINE_BASE64)
Construct from components (default format INLINE_BASE64),.
void write(const DimensionedField< Type, volMesh > &field)
Write the internal field (CellData).
internalWriter(const polyMesh &mesh, const vtk::vtuCells &cells, const vtk::outputOptions opts, const fileName &file, bool parallel=UPstream::parRun())
Construct from components (default format INLINE_BASE64),.
void operator=(const internalWriter &)=delete
No copy assignment.
void write(const GeometricField< Type, PatchField, pointMesh > &field)
Write point field.
internalWriter(const polyMesh &mesh, const vtk::vtuCells &cells, const fileName &file, bool parallel=UPstream::parRun())
Construct from components (default format INLINE_BASE64),.
Encapsulated combinations of output format options. This is primarily useful when defining the output...
A deep-copy description of an OpenFOAM volume mesh in data structures suitable for VTK UnstructuredGr...
autoPtr< vtk::internalWriter > internalWriter
autoPtr< volPointInterpolation > pInterp
Namespace for handling VTK output. Contains classes and functions for writing VTK file content.
@ INLINE_BASE64
XML inline base64, base64Formatter.