Go to the documentation of this file.
48 #ifndef Foam_vtk_surfaceWriter_H
49 #define Foam_vtk_surfaceWriter_H
73 std::reference_wrapper<const pointField> points_;
76 std::reference_wrapper<const faceList> faces_;
137 virtual bool beginFile(std::string title =
"");
166 polyWriter::writeUniformValue<Type>(
nLocalPolys_, fieldName, val);
Encapsulated combinations of output format options. This is primarily useful when defining the output...
virtual bool beginFile(std::string title="")
Write file header (non-collective)
virtual ~surfaceWriter()=default
Destructor.
void piece(const pointField &points, const faceList &faces)
Reset point/face references to begin a new piece.
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 writeTimeValue()
Write the currently set time as "TimeValue" FieldData.
void writeTimeValue(scalar timeValue)
Write "TimeValue" FieldData (name as per Catalyst output)
virtual bool writeGeometry()
Write patch topology.
void writeUniform(const word &fieldName, const Type &val)
Write a uniform field of Cell (Poly) or Point values.
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.
Write faces/points (optionally with fields) as a vtp file or a legacy vtk file.
static bool & parRun() noexcept
Test if this a parallel run.
label nLocalPolys_
Local number of polys (faces)
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.