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)
A class for handling words, derived from Foam::string.
A class for handling file names.
vtk::outputOptions opts() const
void piece(const pointField &points, const edgeList &edges)
void writeTimeValue(scalar timeValue)
virtual void setTime(const instant &inst)
bool parallel() const noexcept
Generic templated field type.
@ INLINE_BASE64
XML inline base64, base64Formatter.
virtual ~lineWriter()=default
Write edge/points (optionally with fields) as a vtp file or a legacy vtk file.
static bool & parRun() noexcept
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
virtual bool beginFile(std::string title="")
virtual bool writeGeometry()
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.