Go to the documentation of this file.
134 #ifndef functionObjects_vtkWrite_H
135 #define functionObjects_vtkWrite_H
148 namespace functionObjects
157 public functionObjects::timeFunctionObject
168 vtk::outputOptions writeOpts_;
195 wordRes selectRegions_;
198 wordRes selectPatches_;
201 wordRes selectFields_;
204 dictionary selection_;
207 HashTable<const fvMesh*> meshes_;
211 PtrList<fvMeshSubset> meshSubsets_;
215 PtrList<vtk::vtuCells> vtuMappings_;
218 HashTable<vtk::seriesWriter, fileName> series_;
224 bool updateSubset(fvMeshSubset& subsetter)
const;
230 bool readSelection(
const dictionary&
dict);
239 label writeAllVolFields
243 const fvMeshSubset& proxy,
248 label writeAllVolFields
251 const autoPtr<volPointInterpolation>&
pInterp,
262 template<
class GeoField>
272 template<
class GeoField>
291 void operator=(
const vtkWrite&) =
delete;
324 virtual bool write();
Encapsulated combinations of output format options. This is primarily useful when defining the output...
List< label > labelList
A List of labels.
virtual bool end()
On end - cleanup internal allocations.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from Foam::string.
virtual bool execute()
Execute - does nothing.
A class for handling file names.
A polyBoundaryMesh is a polyPatch list with additional search methods and registered IO.
virtual void movePoints(const polyMesh &mesh)
Update for mesh point-motion.
Given the original mesh and the list of selected cells, it creates the mesh consisting only of the de...
virtual bool read(const dictionary &dict)
Read the vtkWrite specification.
TypeName("vtkWrite")
Runtime type information.
autoPtr< vtk::internalWriter > internalWriter
Virtual base class for function objects with a reference to Time.
PtrList< vtk::patchWriter > patchWriters
virtual bool write()
Write fields.
Mesh consisting of general polyhedral cells.
label writeAllVolFields(ensightCase &ensCase, const ensightMesh &ensMesh, const IOobjectList &objects, const bool nearCellValue=false)
virtual void updateMesh(const mapPolyMesh &mpm)
Update for changes of mesh.
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
label writeVolFields(ensightCase &ensCase, const ensightMesh &ensMesh, const IOobjectList &objects, const bool nearCellValue=false)
readUpdateState
Enumeration defining the state of the mesh after a read update.
A HashTable similar to std::unordered_map.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
const word & name() const noexcept
Return the name of this functionObject.
Interpolation class within a primitive patch. Allows interpolation from points to faces and vice vers...
virtual ~vtkWrite()=default
Destructor.
A List of wordRe with additional matching capabilities.
const polyBoundaryMesh & patches
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
HashSet< word, Hash< word > > wordHashSet
A HashSet of words, uses string hasher.
PtrList< PrimitivePatchInterpolation< primitivePatch > > patchInterps
autoPtr< volPointInterpolation > pInterp
Writes fields in VTK (xml or legacy) format. Writes cell-values or point-interpolated values for volF...