Go to the documentation of this file.
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);
Encapsulated combinations of output format options. This is primarily useful when defining the output...
void writeUniform(const word &fieldName, const Type &val)
Write a uniform field of Cell (Line) or Point values.
A class for handling words, derived from Foam::string.
A class for handling file names.
vtk::outputOptions opts() const
The output options in use.
void piece(const pointField &points, const edgeList &edges)
Reset point/edge references to begin a new piece.
void writeTimeValue(scalar timeValue)
Write "TimeValue" FieldData (name as per Catalyst output)
void writeTimeValue()
Write the currently set time as "TimeValue" FieldData.
virtual void setTime(const instant &inst)
Define a time name/value for the output.
bool parallel() const noexcept
Parallel output requested?
XML inline base64, base64Formatter.
virtual ~lineWriter()=default
Destructor.
Write edge/points (optionally with fields) as a vtp file or a legacy vtk file.
label nLocalLines_
Local number of lines (edges)
static bool & parRun() noexcept
Test if this a parallel run.
virtual bool beginFile(std::string title="")
Write file header (non-collective)
virtual bool writeGeometry()
Write patch topology.
Write faces/points (optionally with fields) as a vtp file or a legacy vtk file.
An instant of time. Contains the time value and name.