135#ifndef functionObjects_vtkWrite_H
136#define functionObjects_vtkWrite_H
149namespace functionObjects
158 public functionObjects::timeFunctionObject
169 vtk::outputOptions writeOpts_;
196 wordRes selectRegions_;
199 wordRes selectPatches_;
202 wordRes selectFields_;
205 dictionary selection_;
208 HashTable<const fvMesh*> meshes_;
212 PtrList<fvMeshSubset> meshSubsets_;
216 PtrList<vtk::vtuCells> vtuMappings_;
219 HashTable<vtk::seriesWriter, fileName> series_;
225 bool updateSubset(fvMeshSubset& subsetter)
const;
231 bool readSelection(
const dictionary&
dict);
240 label writeAllVolFields
244 const fvMeshSubset& proxy,
249 label writeAllVolFields
252 const autoPtr<volPointInterpolation>&
pInterp,
263 template<
class GeoField>
273 template<
class GeoField>
292 void operator=(
const vtkWrite&) =
delete;
325 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 void movePoints(const polyMesh &mesh)
Update for mesh point-motion.
virtual bool read(const dictionary &dict)
Read the vtkWrite specification.
virtual ~vtkWrite()=default
Destructor.
TypeName("vtkWrite")
Runtime type information.
virtual void updateMesh(const mapPolyMesh &mpm)
Update for changes of mesh.
virtual bool execute()
Execute - does nothing.
virtual bool write()
Write fields.
virtual bool end()
On end - cleanup internal allocations.
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 additional search methods and registered IO.
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
List< label > labelList
A List of labels.
label writeAllVolFields(ensightCase &ensCase, const ensightMesh &ensMesh, const IOobjectList &objects, const bool nearCellValue=false)
label writeVolFields(ensightCase &ensCase, const ensightMesh &ensMesh, const IOobjectList &objects, const bool nearCellValue=false)
HashSet< word, Hash< word > > wordHashSet
A HashSet of words, uses string hasher.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.