138 #ifndef Foam_functionObjects_vtkWrite_H 139 #define Foam_functionObjects_vtkWrite_H 152 namespace functionObjects
161 public functionObjects::timeFunctionObject
172 vtk::outputOptions writeOpts_;
199 wordRes selectRegions_;
202 wordRes selectPatches_;
205 wordRes blockPatches_;
208 wordRes selectFields_;
211 wordRes blockFields_;
217 UPtrList<const fvMesh> meshes_;
221 PtrList<fvMeshSubset> meshSubsets_;
225 PtrList<vtk::vtuCells> vtuMappings_;
228 HashTable<vtk::seriesWriter, fileName> series_;
234 bool updateSubset(fvMeshSubset& subsetter)
const;
240 bool readSelection(
const dictionary&
dict);
249 label writeAllVolFields
253 const fvMeshSubset& proxy,
258 label writeAllVolFields
261 const autoPtr<volPointInterpolation>&
pInterp,
272 template<
class GeoField>
273 label writeVolFieldsImpl
282 template<
class GeoField>
283 label writeVolFieldsImpl
301 void operator=(
const vtkWrite&) =
delete;
334 virtual bool write();
TypeName("vtkWrite")
Runtime type information.
Interpolation class within a primitive patch. Allows interpolation from points to faces and vice vers...
virtual bool write()
Write fields.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
const word & name() const noexcept
Return the name of this functionObject.
A class for handling words, derived from Foam::string.
virtual ~vtkWrite()=default
Destructor.
autoPtr< vtk::internalWriter > internalWriter
HashSet< word, Hash< word > > wordHashSet
A HashSet of words, uses string hasher.
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
Holds a reference to the original mesh (the baseMesh) and optionally to a subset of that mesh (the su...
PtrList< PrimitivePatchInterpolation< primitivePatch > > patchInterps
Writes fields in VTK (xml or legacy) format. Writes cell-values or point-interpolated values for volF...
virtual void updateMesh(const mapPolyMesh &mpm)
Update for changes of mesh.
const polyBoundaryMesh & patches
virtual bool execute()
Execute - does nothing.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Mesh consisting of general polyhedral cells.
readUpdateState
Enumeration defining the state of the mesh after a read update.
List< label > labelList
A List of labels.
virtual bool read(const dictionary &dict)
Read the vtkWrite specification.
virtual bool end()
On end - cleanup internal allocations.
PtrList< vtk::patchWriter > patchWriters
virtual void movePoints(const polyMesh &mesh)
Update for mesh point-motion.
autoPtr< volPointInterpolation > pInterp