FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

vtkMesh Class Reference

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


Detailed Description

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

Source files

Definition at line 54 of file vtkMesh.H.

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

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

const fvMeshSubset& subsetter (  ) const [inline]

Definition at line 99 of file vtkMesh.H.

bool useSubMesh (  ) const [inline]

Check if running subMesh.

Definition at line 105 of file vtkMesh.H.

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

const vtkTopo& topo (  ) const [inline]

topology

Definition at line 111 of file vtkMesh.H.

References autoPtr< T >::empty(), vtkMesh::mesh(), and autoPtr< T >::reset().

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

const fvMesh& mesh (  ) const [inline]

Access either mesh or submesh.

Definition at line 121 of file vtkMesh.H.

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

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

label nFieldCells (  ) const [inline]

Number of field cells.

Definition at line 134 of file vtkMesh.H.

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

label nFieldPoints (  ) const [inline]

Number of field points.

Definition at line 140 of file vtkMesh.H.

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

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

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


The documentation for this class was generated from the following file:
  • applications/utilities/postProcessing/dataConversion/foamToVTK/vtkMesh.H