Public Member Functions | List of all members
vtkMesh Class Reference

Encapsulation of VTK mesh data. Holds mesh or meshsubset and polyhedral-cell decomposition on it. More...

Public Member Functions

 vtkMesh (fvMesh &baseMesh, const word &setName="")
 Construct from components. More...
 
const fvMesh & baseMesh () const
 Whole mesh. More...
 
const fvMeshSubset & subsetter () const
 
bool useSubMesh () const
 Check if running subMesh. More...
 
const fvMesh & mesh () const
 Access either mesh or submesh. More...
 
polyMesh::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...
 
 vtkMesh (fvMesh &baseMesh, const word &setName="")
 Construct from components. More...
 
const fvMesh & baseMesh () const
 Whole mesh. More...
 
const fvMeshSubset & subsetter () const
 
bool useSubMesh () const
 Check if running subMesh. More...
 
const vtkTopo & topo () const
 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...
 
polyMesh::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...
 

Detailed Description

Encapsulation of VTK mesh data. Holds mesh or meshsubset and polyhedral-cell decomposition on it.

Source files

Source files

Definition at line 52 of file vtkMesh.H.

Constructor & Destructor Documentation

vtkMesh ( fvMesh &  baseMesh,
const word &  setName = "" 
)

Construct from components.

vtkMesh ( fvMesh &  baseMesh,
const word &  setName = "" 
)

Construct from components.

Member Function Documentation

const fvMesh& baseMesh ( ) const
inline

Whole mesh.

Definition at line 92 of file vtkMesh.H.

const fvMeshSubset& subsetter ( ) const
inline

Definition at line 97 of file vtkMesh.H.

bool useSubMesh ( ) const
inline

Check if running subMesh.

Definition at line 103 of file vtkMesh.H.

Referenced by vtkMesh::interpolate(), and vtkMesh::mesh().

Here is the caller graph for this function:

const fvMesh& mesh ( ) const
inline

Access either mesh or submesh.

Definition at line 119 of file vtkMesh.H.

References vtkMesh::readUpdate(), fvMeshSubset::subMesh(), and vtkMesh::useSubMesh().

Referenced by vtkMesh::nFieldPoints(), and vtkMesh::topo().

Here is the call graph for this function:

Here is the caller graph for this function:

polyMesh::readUpdateState readUpdate ( )

Read mesh.

Referenced by vtkMesh::mesh(), and vtkMesh::nFieldPoints().

Here is the caller graph for this function:

tmp<GeoField> interpolate ( const GeoField &  fld) const
inline

Map volume field (does in fact do very little interpolation;.

just copied from fvMeshSubset)

Definition at line 153 of file vtkMesh.H.

References fld(), fvMeshSubset::interpolate(), tmp< T >::ref(), and vtkMesh::useSubMesh().

Here is the call graph for this function:

const fvMesh& baseMesh ( ) const
inline

Whole mesh.

Definition at line 93 of file vtkMesh.H.

const fvMeshSubset& subsetter ( ) const
inline

Definition at line 98 of file vtkMesh.H.

bool useSubMesh ( ) const
inline

Check if running subMesh.

Definition at line 104 of file vtkMesh.H.

const vtkTopo& topo ( ) const
inline

topology

Definition at line 110 of file vtkMesh.H.

References vtkMesh::mesh().

Referenced by vtkMesh::nFieldCells(), and vtkMesh::nFieldPoints().

Here is the call graph for this function:

Here is the caller graph for this function:

const fvMesh& mesh ( ) const
inline

Access either mesh or submesh.

Definition at line 120 of file vtkMesh.H.

References vtkMesh::useSubMesh().

Here is the call graph for this function:

label nFieldCells ( ) const
inline

Number of field cells.

Definition at line 133 of file vtkMesh.H.

References vtkTopo::cellTypes(), List< T >::size(), and vtkMesh::topo().

Here is the call graph for this function:

label nFieldPoints ( ) const
inline

Number of field points.

Definition at line 139 of file vtkMesh.H.

References vtkTopo::addPointCellLabels(), vtkMesh::mesh(), primitiveMesh::nPoints(), vtkMesh::readUpdate(), List< T >::size(), and vtkMesh::topo().

Here is the call graph for this function:

polyMesh::readUpdateState readUpdate ( )

Read mesh.

tmp<GeoField> interpolate ( const GeoField &  fld) const
inline

Map volume field (does in fact do very little interpolation;.

just copied from fvMeshSubset)

Definition at line 154 of file vtkMesh.H.

References fld(), tmp< T >::ref(), and vtkMesh::useSubMesh().

Here is the call graph for this function:


The documentation for this class was generated from the following file: