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