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