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