Go to the documentation of this file.
32 Foam::vtk::lineWriter::lineWriter
41 points_(std::cref<pointField>(
points)),
42 edges_(std::cref<edgeList>(edges)),
47 Foam::vtk::lineWriter::lineWriter
61 Foam::vtk::lineWriter::lineWriter
91 if (!instant_.name().empty())
95 "time='" + instant_.name() +
"'"
106 return writeLineGeometry(points_.get(), edges_.get());
112 if (!instant_.name().empty())
127 points_ = std::cref<pointField>(
points);
128 edges_ = std::cref<edgeList>(edges);
Encapsulated combinations of output format options. This is primarily useful when defining the output...
A class for handling file names.
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 bool beginFile(std::string title="")
Write file header (non-collective)
virtual void setTime(const instant &inst)
Define a time name/value for the output.
Write edge/points (optionally with fields) as a vtp file or a legacy vtk file.
bool writeProcIDs(const label nValues)
Write nValues of processor ids as CellData (no-op in serial)
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.