48#ifndef Foam_vtk_lagrangianWriter_H
49#define Foam_vtk_lagrangianWriter_H
62template<
class Type>
class IOField;
81 const word cloudName_;
84 label numberOfPoints_;
143 bool useVerts =
false
188 virtual bool beginFile(std::string title =
"");
A primitive field of type <T> with automated input and output.
List of IOobjects with searching and retrieving facilities.
static bool & parRun() noexcept
Test if this a parallel run.
A class for handling file names.
Mesh data needed to do the Finite Volume discretisation.
Base class for VTK output writers that handle geometry and fields (eg, vtp, vtu data)....
vtk::outputOptions opts() const noexcept
The output options in use.
bool parallel() const noexcept
Parallel output requested?
word ext() const
File extension for current format type.
Write lagrangian (cloud) positions and fields (as PointData) in VTP format. Legacy VTK format is inte...
label writeFields(const wordList &fieldNames, bool verbose=true)
Write IOFields.
bool beginParcelData()
Begin parcel (PointData) output section.
virtual bool beginCellData(label nFields=0)
Begin CellData output section for specified number of fields.
static word ext(vtk::outputOptions)
File extension for given output type. Always ".vtp".
bool endParcelData()
Explicitly end parcel (PointData) output and switch to PIECE state.
virtual bool beginPointData(label nFields=0)
Begin PointData for specified number of fields.
label writeFields(const IOobjectList &objects, bool verbose=true)
Write IOFields.
virtual bool writeGeometry()
Write cloud positions.
virtual bool beginFile(std::string title="")
Write file header (non-collective)
virtual ~lagrangianWriter()=default
Destructor.
Encapsulated combinations of output format options. This is primarily useful when defining the output...
A class for handling words, derived from Foam::string.
@ INLINE_BASE64
XML inline base64, base64Formatter.
const Foam::Enum< fileTag > fileExtension
File extension (without ".") for some vtk XML file content types.
const word cloudName(propsDict.get< word >("cloud"))