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>
static vtkSmartPointer< vtkFloatArray > convertField(const DimensionedField< Type, volMesh > &fld, const vtuAdaptor &vtuData)
Convert internal volume field (CellData)
Forwards and collection of common volume field types.
Generic GeometricField class.
Bookkeeping for mesh subsetting and/or polyhedral cell decomposition. Although the main use case is f...
Bookkeeping for internal caching.
Bookkeeping for vtkUnstructuredGrid.
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))
Mesh data needed to do the Finite Volume discretisation.
vtkSmartPointer< vtkPoints > points(const fvMesh &mesh) const
The vtk points for the mesh (and decomposition)
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const labelList & pointMap() const noexcept
Point labels for subsetted meshes.