137#ifndef Foam_functionObjects_vtkCloud_H
138#define Foam_functionObjects_vtkCloud_H
161 public Foam::Detail::parcelSelection
166 vtk::outputOptions writeOpts_;
181 wordRes selectClouds_;
184 wordRes selectFields_;
190 HashTable<vtk::seriesWriter, fileName> series_;
198 bool writeCloud(
const fileName& file,
const word&
cloudName);
203 autoPtr<vtk::formatter>&
format,
204 const label nTotParcels
211 autoPtr<vtk::formatter>&
format,
212 const objectRegistry&
obr,
213 const label nTotParcels
218 vtkCloud(
const vtkCloud&) =
delete;
221 void operator=(
const vtkCloud&) =
delete;
254 virtual bool write();
const word cloudName(propsDict.get< word >("cloud"))
Selection of parcels based on their objectRegistry entries. Normally accessed via a dictionary entry.
A HashTable similar to std::unordered_map.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A class for handling file names.
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
fvMeshFunctionObject(const fvMeshFunctionObject &)=delete
No copy construct.
virtual const objectRegistry & obr() const
The region or sub-region registry being used.
This functionObject writes cloud(s) in VTK PolyData format (.vtp extension) with the time information...
virtual bool read(const dictionary &dict)
Read the function-object dictionary.
virtual bool execute()
Execute the function-object operations (no-op).
virtual bool write()
Write the function-object results.
virtual ~vtkCloud()=default
Destructor.
vtkCloud(const word &name, const Time &runTime, const dictionary &dict)
Construct from name, Time and dictionary.
TypeName("vtkCloud")
Runtime type information.
Registry of regIOobjects.
Encapsulated combinations of output format options. This is primarily useful when defining the output...
A List of wordRe with additional matching capabilities.
A class for handling words, derived from Foam::string.
Function objects are OpenFOAM utilities to ease workflow configurations and enhance workflows.
List< word > wordList
List of word.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
word format(conversionProperties.get< word >("format"))
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.