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 fvMeshbaseMesh () const
 Whole mesh. More...
 
const fvMeshSubsetsubsetter () const
 
bool useSubMesh () const
 Check if running subMesh. More...
 
const fvMeshmesh () 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 word &setName="")
 Construct from components. More...
 
 vtkMesh (const vtkMesh &)=delete
 Disallow default bitwise copy construction. More...
 
const fvMeshbaseMesh () const
 Whole mesh. More...
 
const fvMeshSubsetsubsetter () const
 
bool useSubMesh () const
 Check if running subMesh. More...
 
const vtkTopotopo () const
 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...
 
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 word setName = "" 
)

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

◆ readUpdate() [1/2]

polyMesh::readUpdateState readUpdate ( )

Read mesh.

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

Here is the caller graph for this function:

◆ 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(), vtkMesh::operator=(), 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.

Referenced by vtkMesh::interpolate().

Here is the caller graph for this function:

◆ baseMesh() [2/2]

const fvMesh& baseMesh ( ) const
inline

Whole mesh.

Definition at line 86 of file vtkMesh.H.

◆ subsetter() [2/2]

const fvMeshSubset& subsetter ( ) const
inline

Definition at line 91 of file vtkMesh.H.

◆ useSubMesh() [2/2]

bool useSubMesh ( ) const
inline

Check if running subMesh.

Definition at line 97 of file vtkMesh.H.

◆ topo()

const vtkTopo& topo ( ) const
inline

topology

Definition at line 103 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 113 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 126 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 132 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:

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

References fld(), vtkMesh::operator=(), 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: