Go to the documentation of this file.
54 #ifndef Foam_vtk_surfaceFieldWriter_H
55 #define Foam_vtk_surfaceFieldWriter_H
82 label numberOfPoints_;
149 virtual bool beginFile(std::string title =
"");
Encapsulated combinations of output format options. This is primarily useful when defining the output...
Base class for VTK output writers that handle geometry and fields (eg, vtp, vtu data)....
A class for handling words, derived from Foam::string.
A class for handling file names.
vtk::outputOptions opts() const
The output options in use.
const Foam::Enum< fileTag > fileExtension
File extension (without ".") for some vtk XML file content types.
virtual bool beginCellData(label nFields=0)
Begin CellData output section for specified number of fields.
virtual bool beginFile(std::string title="")
Write file header (non-collective)
void write(const surfaceVectorField &field)
Write field.
bool parallel() const noexcept
Parallel output requested?
virtual bool beginPointData(label nFields=0)
Begin PointData output section.
virtual ~surfaceFieldWriter()=default
Destructor.
static word ext(vtk::outputOptions)
File extension for given output type.
virtual bool writeGeometry()
Write cloud positions.
Write surfaces fields (as PointData) in VTP format. Legacy VTK format is intentionally not supported.
XML inline base64, base64Formatter.
Mesh data needed to do the Finite Volume discretisation.
static bool & parRun() noexcept
Test if this a parallel run.
word ext() const
File extension for current format type.