48#ifndef Foam_vtk_lineWriter_H
49#define Foam_vtk_lineWriter_H
73 std::reference_wrapper<const pointField> points_;
76 std::reference_wrapper<const edgeList> edges_;
137 virtual bool beginFile(std::string title =
"");
166 polyWriter::writeUniformValue<Type>(
nLocalLines_, fieldName, val);
static bool & parRun() noexcept
Test if this a parallel run.
A class for handling file names.
An instant of time. Contains the time value and name. Uses Foam::Time when formatting the name.
vtk::outputOptions opts() const noexcept
The output options in use.
bool parallel() const noexcept
Parallel output requested?
Write edge/points (optionally with fields) as a vtp file or a legacy vtk file.
void writeUniform(const word &fieldName, const Type &val)
Write a uniform field of Cell (Line) or Point values.
void piece(const pointField &points, const edgeList &edges)
Reset point/edge references to begin a new piece.
virtual void setTime(const instant &inst)
Define a time name/value for the output.
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)
virtual ~lineWriter()=default
Destructor.
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.
label nLocalLines_
Local number of lines (edges)
A class for handling words, derived from Foam::string.
@ INLINE_BASE64
XML inline base64, base64Formatter.