OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

vtkMesh Class Reference

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

Collaboration diagram for vtkMesh:

List of all members.


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;.

Detailed Description

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

Source files

Definition at line 49 of file vtkMesh.H.


Constructor & Destructor Documentation

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

Construct from components.


Member Function Documentation

const fvMesh& baseMesh (  )  const [inline]

whole mesh

Definition at line 89 of file vtkMesh.H.

const fvMeshSubset& subsetter (  )  const [inline]

Definition at line 94 of file vtkMesh.H.

bool useSubMesh (  )  const [inline]

Check if running subMesh.

Definition at line 100 of file vtkMesh.H.

Referenced by vtkMesh::interpolate().

Here is the caller graph for this function:

const vtkTopo& topo (  )  const [inline]

topology

Definition at line 106 of file vtkMesh.H.

Referenced by vtkMesh::nFieldPoints().

Here is the caller graph for this function:

const fvMesh& mesh (  )  const [inline]

Access either mesh or submesh.

Definition at line 116 of file vtkMesh.H.

label nFieldCells (  )  const [inline]

Number of field cells.

Definition at line 129 of file vtkMesh.H.

label nFieldPoints (  )  const [inline]

Number of field points.

Definition at line 135 of file vtkMesh.H.

References vtkTopo::cellTypes(), 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 152 of file vtkMesh.H.

References fvMeshSubset::interpolate(), and vtkMesh::useSubMesh().

Here is the call graph for this function:


The documentation for this class was generated from the following file:
  • applications/utilities/postProcessing/dataConversion/foamToVTK/vtkMesh.H
Copyright © 2000-2009 OpenCFD Ltd