44#ifndef Foam_vtk_coordSetWriter_H
45#define Foam_vtk_coordSetWriter_H
108 void writeVertsLegacy();
116 void writeLinesLegacy();
183 virtual bool beginFile(std::string title =
"");
215 const word& fieldName,
Generic templated field type.
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
A class for handling file names.
An instant of time. Contains the time value and name. Uses Foam::Time when formatting the name.
Write as points/lines, optionally with fields, as a vtp file or a legacy vtk file.
void piece(const UPtrList< const pointField > &points)
Reset point references to begin a new piece.
void setElementType(const elemOutputType elemOutput)
Define preferred element type.
elemOutputType
Types of element output.
virtual void setTime(const instant &inst)
Define a time name/value for the output.
virtual ~coordSetWriter()=default
Destructor.
virtual bool open(const fileName &file, bool parallel=false)
Open file for writing. Non-parallel only.
void writePointData(const word &fieldName, const UPtrList< const Field< Type > > &fieldPtrs)
Write primitive field of PointData.
void writeTimeValue()
Write the currently set time as "TimeValue" FieldData.
virtual bool writeGeometry()
Write patch topology.
virtual bool beginFile(std::string title="")
Write file header (non-collective)
vtk::outputOptions opts() const noexcept
The output options in use.
bool parallel() const noexcept
Parallel output requested?
void writeTimeValue()
Write the currently set time as "TimeValue" FieldData.
Encapsulated combinations of output format options. This is primarily useful when defining the output...
Write faces/points (optionally with fields) as a vtp file or a legacy vtk file.
A class for handling words, derived from Foam::string.
@ INLINE_BASE64
XML inline base64, base64Formatter.