Go to the documentation of this file.
46 #ifndef Foam_vtk_vtuAdaptor_H
47 #define Foam_vtk_vtuAdaptor_H
55 #include "vtkUnstructuredGrid.h"
56 #include "vtkMultiBlockDataSet.h"
86 inline vtkSmartPointer<vtkPoints>
points
93 inline vtkSmartPointer<vtkPoints>
points
101 inline vtkSmartPointer<vtkUnstructuredGrid>
internal
104 const bool decompPoly = false
112 static vtkSmartPointer<vtkFloatArray>
121 static vtkSmartPointer<vtkFloatArray>
131 vtkSmartPointer<vtkFloatArray>
139 vtkSmartPointer<vtkFloatArray>
vtkSmartPointer< vtkPoints > points(const fvMesh &mesh) const
The vtk points for the mesh (and decomposition)
gmvFile<< "tracers "<< particles.size()<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().x()<< ' ';}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().y()<< ' ';}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().z()<< ' ';}gmvFile<< nl;for(const word &name :lagrangianScalarNames){ IOField< scalar > fld(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
static vtkSmartPointer< vtkFloatArray > convertField(const DimensionedField< Type, volMesh > &fld, const vtuAdaptor &vtuData)
Convert internal volume field (CellData)
Mesh data needed to do the Finite Volume discretisation.
Bookkeeping for vtkUnstructuredGrid.
const labelList & pointMap() const noexcept
Point labels for subsetted meshes.
Bookkeeping for mesh subsetting and/or polyhedral cell decomposition. Although the main use case is f...
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Bookkeeping for internal caching.