32 Foam::vtk::surfaceWriter::surfaceWriter
47 Foam::vtk::surfaceWriter::surfaceWriter
61 Foam::vtk::surfaceWriter::surfaceWriter
91 if (!instant_.name().empty())
95 "time='" + instant_.name() +
"'" 106 return writePolyGeometry(points_.get(), faces_.get());
112 if (!instant_.name().empty())
127 points_ = std::cref<pointField>(
points);
128 faces_ = std::cref<faceList>(faces);
134 if (this->isPointData())
A class for handling file names.
Write faces/points (optionally with fields) as a vtp file or a legacy vtk file.
void writeTimeValue(scalar timeValue)
Write "TimeValue" FieldData (name as per Catalyst output)
Encapsulated combinations of output format options. This is primarily useful when defining the output...
bool writeProcIDs(const label nValues)
Write nValues of processor ids as CellData or PointData (no-op in serial)
virtual bool beginFile(std::string title="")
Write file header (non-collective)
void piece(const pointField &points, const faceList &faces)
Reset point/face references to begin a new piece.
bool writeProcIDs()
Write processor ids for each poly as CellData or for each point as PointData, depending on isPointDat...
An instant of time. Contains the time value and name. Uses Foam::Time when formatting the name...
virtual void setTime(const instant &inst)
Define a time name/value for the output.
virtual bool beginFile(std::string title="")
Write file header (non-collective)
Write faces/points (optionally with fields) as a vtp file or a legacy vtk file.
virtual bool writeGeometry()
Write patch topology.
void writeTimeValue()
Write the currently set time as "TimeValue" FieldData.