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 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 fvMeshbaseMesh () const
 Whole mesh. More...
 
const fvMeshSubsetsubsetter () const
 Subsetting engine. More...
 
bool useSubMesh () const
 Check if running subMesh. More...
 
const vtkTopotopo () const
 VTK topology. More...
 
const fvMeshmesh () 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...
 

Detailed Description

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

Source files

Definition at line 53 of file vtkMesh.H.

Constructor & Destructor Documentation

◆ vtkMesh() [1/2]

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

Construct from components.

◆ vtkMesh() [2/2]

vtkMesh ( const vtkMesh )
delete

Disallow default bitwise copy construction.

Member Function Documentation

◆ baseMesh()

const fvMesh& baseMesh ( ) const
inline

Whole mesh.

Definition at line 94 of file vtkMesh.H.

◆ subsetter()

const fvMeshSubset& subsetter ( ) const
inline

Subsetting engine.

Definition at line 100 of file vtkMesh.H.

◆ useSubMesh()

bool useSubMesh ( ) const
inline

Check if running subMesh.

Definition at line 106 of file vtkMesh.H.

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

Here is the caller graph for this function:

◆ topo()

const vtkTopo& topo ( ) const
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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mesh()

const fvMesh& mesh ( ) const
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().

Here is the call graph for this function:
Here is the caller 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()

fvMesh::readUpdateState readUpdate ( )

Read mesh.

◆ interpolate()

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(), fvMeshSubset::interpolate(), tmp< T >::ref(), and vtkMesh::useSubMesh().

Here is the call graph for this function:

◆ operator=()

void operator= ( const vtkMesh )
delete

Disallow default bitwise assignment.


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