139#ifndef Foam_functionObjects_vtkWrite_H
140#define Foam_functionObjects_vtkWrite_H
162 public functionObjects::timeFunctionObject
173 vtk::outputOptions writeOpts_;
200 wordRes selectRegions_;
203 wordRes selectPatches_;
206 wordRes blockPatches_;
209 wordRes selectFields_;
212 wordRes blockFields_;
218 UPtrList<const fvMesh> meshes_;
222 PtrList<fvMeshSubset> meshSubsets_;
226 PtrList<vtk::vtuCells> vtuMappings_;
229 HashTable<vtk::seriesWriter, fileName> series_;
235 bool updateSubset(fvMeshSubset& subsetter)
const;
250 label writeAllVolFields
254 const fvMeshSubset& proxy,
259 label writeAllVolFields
262 const autoPtr<volPointInterpolation>&
pInterp,
273 template<
class GeoField>
274 label writeVolFieldsImpl
283 template<
class GeoField>
284 label writeVolFieldsImpl
334 virtual bool write();
A HashTable similar to std::unordered_map.
Interpolation class within a primitive patch. Allows interpolation from points to faces and vice vers...
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
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.
const word & name() const noexcept
Return the name of this functionObject.
Virtual base class for function objects with a reference to Time.
Writes fields in VTK (xml or legacy) format. Writes cell-values or point-interpolated values for volF...
virtual bool read(const dictionary &dict)
Read the vtkWrite specification.
virtual bool end()
On end - cleanup internal allocations.
virtual bool execute()
Execute - does nothing.
void operator=(const vtkWrite &)=delete
No copy assignment.
virtual bool write()
Write fields.
vtkWrite(const vtkWrite &)=delete
No copy construct.
virtual ~vtkWrite()=default
Destructor.
TypeName("vtkWrite")
Runtime type information.
vtkWrite(const word &name, const Time &runTime, const dictionary &dict)
Construct from name, Time and dictionary.
virtual void movePoints(const polyMesh &mesh)
Update for mesh point-motion.
virtual void updateMesh(const mapPolyMesh &mpm)
Update for changes of mesh.
Holds a reference to the original mesh (the baseMesh) and optionally to a subset of that mesh (the su...
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
A polyBoundaryMesh is a polyPatch list with registered IO, a reference to the associated polyMesh,...
Mesh consisting of general polyhedral cells.
readUpdateState
Enumeration defining the state of the mesh after a read update.
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.
autoPtr< vtk::internalWriter > internalWriter
PtrList< vtk::patchWriter > patchWriters
const polyBoundaryMesh & patches
PtrList< PrimitivePatchInterpolation< primitivePatch > > patchInterps
autoPtr< volPointInterpolation > pInterp
Function objects are OpenFOAM utilities to ease workflow configurations and enhance workflows.
HashSet< word, Hash< word > > wordHashSet
A HashSet of words, uses string hasher.
List< label > labelList
A List of labels.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.