Encapsulation of VTK mesh data. Holds mesh or meshsubset and polyhedral-cell decomposition on it. More...
Encapsulation of VTK mesh data. Holds mesh or meshsubset and polyhedral-cell decomposition on it.
Public Member Functions | |
vtkMesh (fvMesh &baseMesh, const word &setName="") | |
Construct from components. | |
const fvMesh & | baseMesh () const |
whole mesh | |
const fvMeshSubset & | subsetter () const |
bool | useSubMesh () const |
Check if running subMesh. | |
const vtkTopo & | topo () const |
topology | |
const fvMesh & | mesh () const |
Access either mesh or submesh. | |
label | nFieldCells () const |
Number of field cells. | |
label | nFieldPoints () const |
Number of field points. | |
polyMesh::readUpdateState | readUpdate () |
Read mesh. | |
template<class GeoField > | |
tmp< GeoField > | interpolate (const GeoField &fld) const |
Map volume field (does in fact do very little interpolation;. |
|
inline |
|
inline |
Check if running subMesh.
Definition at line 105 of file vtkMesh.H.
Referenced by vtkMesh::interpolate(), and vtkMesh::mesh().
|
inline |
topology
Definition at line 111 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 121 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 134 of file vtkMesh.H.
References vtkTopo::cellTypes(), List< T >::size(), and vtkMesh::topo().
|
inline |
Number of field points.
Definition at line 140 of file vtkMesh.H.
References vtkTopo::addPointCellLabels(), vtkMesh::mesh(), primitiveMesh::nPoints(), List< T >::size(), and vtkMesh::topo().
polyMesh::readUpdateState readUpdate | ( | ) |
Read mesh.
|
inline |
Map volume field (does in fact do very little interpolation;.
just copied from fvMeshSubset)
Definition at line 155 of file vtkMesh.H.
References fvMeshSubset::interpolate(), and vtkMesh::useSubMesh().