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>
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.
Definition at line 63 of file isoSurfaceCell.H.
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.
|
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 1402 of file isoSurfaceCell.C.
References polyPatch::coupled(), Foam::endl(), Foam::findIndices(), forAll, Foam::inplaceRenumber(), tetMatcher::isA(), UList< labelledTri >::operator, patches, Foam::Pout, List< T >::setSize(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::shrink(), List< T >::size(), and polyPatch::start().
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.