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...
 
 vtkMesh (const vtkMesh &)=delete
 Disallow default bitwise copy construction. 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...
 
void operator= (const vtkMesh &)=delete
 Disallow default bitwise assignment. More...
 
 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...
 
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...
 
void operator= (const vtkMesh &)=delete
 Disallow default bitwise assignment. 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() [1/4]

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

Construct from components.

◆ vtkMesh() [2/4]

vtkMesh ( const vtkMesh &  )
delete

Disallow default bitwise copy construction.

◆ vtkMesh() [3/4]

vtkMesh ( fvMesh &  baseMesh,
const vtkTopo::vtkPolyhedra  polyhedra = vtkTopo::vtkPolyhedra::none,
const word &  setName = word::null 
)

Construct from components.

◆ vtkMesh() [4/4]

vtkMesh ( const vtkMesh &  )
delete

Disallow default bitwise copy construction.

Member Function Documentation

◆ baseMesh() [1/2]

const fvMesh& baseMesh ( ) const
inline

Whole mesh.

Definition at line 83 of file vtkMesh.H.

◆ subsetter() [1/2]

const fvMeshSubset& subsetter ( ) const
inline

Definition at line 88 of file vtkMesh.H.

◆ useSubMesh() [1/2]

bool useSubMesh ( ) const
inline

Check if running subMesh.

Definition at line 94 of file vtkMesh.H.

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

Here is the caller graph for this function:

◆ mesh() [1/2]

const fvMesh& mesh ( ) const
inline

Access either mesh or submesh.

Definition at line 100 of file vtkMesh.H.

References 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:

◆ readUpdate() [1/2]

polyMesh::readUpdateState readUpdate ( )

Read mesh.

◆ interpolate() [1/2]

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 122 of file vtkMesh.H.

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

Here is the call graph for this function:

◆ operator=() [1/2]

void operator= ( const vtkMesh &  )
delete

Disallow default bitwise assignment.

◆ baseMesh() [2/2]

const fvMesh& baseMesh ( ) const
inline

Whole mesh.

Definition at line 94 of file vtkMesh.H.

◆ subsetter() [2/2]

const fvMeshSubset& subsetter ( ) const
inline

Subsetting engine.

Definition at line 100 of file vtkMesh.H.

◆ useSubMesh() [2/2]

bool useSubMesh ( ) const
inline

Check if running subMesh.

Definition at line 106 of file vtkMesh.H.

◆ topo()

const vtkTopo& topo ( ) const
inline

VTK topology.

Definition at line 112 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:

◆ mesh() [2/2]

const fvMesh& mesh ( ) const
inline

Access either mesh or submesh.

Definition at line 122 of file vtkMesh.H.

References vtkMesh::useSubMesh().

Here is the call graph for this function:

◆ nFieldCells()

label nFieldCells ( ) const
inline

Number of field cells.

Definition at line 135 of file vtkMesh.H.

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

Here is the call graph for this function:

◆ nFieldPoints()

label nFieldPoints ( ) const
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().

Here is the call graph for this function:

◆ readUpdate() [2/2]

polyMesh::readUpdateState readUpdate ( )

Read mesh.

◆ interpolate() [2/2]

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 156 of file vtkMesh.H.

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

Here is the call graph for this function:

◆ operator=() [2/2]

void operator= ( const vtkMesh &  )
delete

Disallow default bitwise assignment.


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