Encapsulation of VTK mesh data. Holds mesh or meshsubset and polyhedral-cell decomposition on it. More...
Public Member Functions | |
vtkMesh (fvMesh &baseMesh, const vtkTopo::vtkPolyhedra polyhedra=vtkTopo::vtkPolyhedra::none, const word &setName=word::null) | |
Construct from components. More... | |
vtkMesh (const vtkMesh &)=delete | |
Disallow default bitwise copy construction. More... | |
const fvMesh & | baseMesh () const |
Whole mesh. More... | |
const fvMeshSubset & | subsetter () const |
Subsetting engine. More... | |
bool | useSubMesh () const |
Check if running subMesh. More... | |
const vtkTopo & | topo () const |
VTK topology. More... | |
const fvMesh & | mesh () const |
Access either mesh or submesh. More... | |
label | nFieldCells () const |
Number of field cells. More... | |
label | nFieldPoints () const |
Number of field points. More... | |
fvMesh::readUpdateState | readUpdate () |
Read mesh. More... | |
template<class GeoField > | |
tmp< GeoField > | interpolate (const GeoField &fld) const |
Map volume field (does in fact do very little interpolation;. More... | |
void | operator= (const vtkMesh &)=delete |
Disallow default bitwise assignment. More... | |
Encapsulation of VTK mesh data. Holds mesh or meshsubset and polyhedral-cell decomposition on it.
vtkMesh | ( | fvMesh & | baseMesh, |
const vtkTopo::vtkPolyhedra | polyhedra = vtkTopo::vtkPolyhedra::none , |
||
const word & | setName = word::null |
||
) |
Construct from components.
|
inline |
|
inline |
Check if running subMesh.
Definition at line 106 of file vtkMesh.H.
Referenced by vtkMesh::interpolate(), and vtkMesh::mesh().
|
inline |
VTK topology.
Definition at line 112 of file vtkMesh.H.
References autoPtr< T >::empty(), vtkMesh::mesh(), and autoPtr< T >::reset().
Referenced by vtkMesh::nFieldCells(), and vtkMesh::nFieldPoints().
|
inline |
Access either mesh or submesh.
Definition at line 122 of file vtkMesh.H.
References fvMeshSubset::subMesh(), and vtkMesh::useSubMesh().
Referenced by vtkMesh::nFieldPoints(), and vtkMesh::topo().
|
inline |
Number of field cells.
Definition at line 135 of file vtkMesh.H.
References vtkTopo::cellTypes(), List< T >::size(), and vtkMesh::topo().
|
inline |
Number of field points.
Definition at line 141 of file vtkMesh.H.
References vtkTopo::addPointCellLabels(), vtkMesh::mesh(), primitiveMesh::nPoints(), List< T >::size(), and vtkMesh::topo().
fvMesh::readUpdateState readUpdate | ( | ) |
Read mesh.
|
inline |
Map volume field (does in fact do very little interpolation;.
just copied from fvMeshSubset)
Definition at line 156 of file vtkMesh.H.
References fld(), fvMeshSubset::interpolate(), tmp< T >::ref(), and vtkMesh::useSubMesh().
|
delete |
Disallow default bitwise assignment.