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

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

#include <sampling/isoSurfaceCell.H>


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 63 of file isoSurfaceCell.H.

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 labelList &  meshCells () 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.

Constructor & Destructor Documentation

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

Member Function Documentation

TypeName ( "isoSurfaceCell"    )

Runtime type information.

const labelList& meshCells (  ) const [inline]

For every face original cell in mesh.

Definition at line 332 of file isoSurfaceCell.H.

const labelList triPointMergeMap (  ) const [inline]

For every unmerged triangle point the point in the triSurface.

Definition at line 338 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

Interpolates cCoords,pCoords. Takes the original fields.

used to create the iso surface.

Definition at line 332 of file isoSurfaceCellTemplates.C.

References forAll, and points.


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