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

isoSurfaceCell Class Reference

A surface formed by the iso value. After "Polygonising A Scalar Field Using Tetrahedrons", Paul Bourke and "Regularised Marching Tetrahedra: improved iso-surface extraction", G.M. Treece, R.W. Prager and A.H. Gee. More...

Inheritance diagram for isoSurfaceCell:
Collaboration diagram for isoSurfaceCell:

List of all members.


Public Member Functions

 TypeName ("isoSurfaceCell")
 Runtime type information.
 isoSurfaceCell (const polyMesh &mesh, const scalarField &cellValues, const scalarField &pointValues, const scalar iso, const bool regularise, const scalar mergeTol=1E-6)
 Construct from dictionary.
const labelListmeshCells () const
 For every face original cell in mesh.
const labelList triPointMergeMap () const
 For every unmerged triangle point the point in the triSurface.
template<class Type >
tmp< Field< Type > > interpolate (const scalarField &cVals, const scalarField &pVals, const Field< Type > &cCoords, const Field< Type > &pCoords) const
 Interpolates cCoords,pCoords. Takes the original fields.

Detailed Description

A surface formed by the iso value. After "Polygonising A Scalar Field Using Tetrahedrons", Paul Bourke and "Regularised Marching Tetrahedra: improved iso-surface extraction", G.M. Treece, R.W. Prager and A.H. Gee.

See isoSurface. This is a variant which does tetrahedrisation from triangulation of face to cell centre instead of edge of face to two neighbouring cell centres. This gives much lower quality triangles but they are local to a cell.

Source files

Definition at line 58 of file isoSurfaceCell.H.


Constructor & Destructor Documentation

isoSurfaceCell ( const polyMesh mesh,
const scalarField cellValues,
const scalarField pointValues,
const scalar  iso,
const bool  regularise,
const scalar  mergeTol = 1E-6 
)

Construct from dictionary.

Definition at line 1382 of file isoSurfaceCell.C.


Member Function Documentation

TypeName ( "isoSurfaceCell"   ) 

Runtime type information.

const labelList& meshCells (  )  const [inline]

For every face original cell in mesh.

Definition at line 331 of file isoSurfaceCell.H.

const labelList triPointMergeMap (  )  const [inline]

For every unmerged triangle point the point in the triSurface.

Definition at line 337 of file isoSurfaceCell.H.

Foam::tmp< Foam::Field< Type > > interpolate ( const scalarField cVals,
const scalarField pVals,
const Field< Type > &  cCoords,
const Field< Type > &  pCoords 
) const [inline]

Interpolates cCoords,pCoords. Takes the original fields.

used to create the iso surface.

Definition at line 324 of file isoSurfaceCellTemplates.C.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd