A surface formed by the iso value. After "Regularised Marching Tetrahedra: improved iso-surface extraction", G.M. Treece, R.W. Prager and A.H. Gee. More...
#include <sampling/isoSurface.H>
A surface formed by the iso value. After "Regularised Marching Tetrahedra: improved iso-surface extraction", G.M. Treece, R.W. Prager and A.H. Gee.
The handling on coupled patches is a bit complex. All fields (values and coordinates) get rewritten so
Now the triangle generation on non-separated processor patch faces can use the neighbouring value. Any separated processor face or cyclic face gets handled just like any boundary face.
Definition at line 84 of file isoSurface.H.
Public Member Functions | |
TypeName ("isoSurface") | |
Runtime type information.
| |
isoSurface (const volScalarField &cellIsoVals, const scalarField &pointIsoVals, const scalar iso, const bool regularise, const scalar mergeTol=1E-6) | |
Construct from cell values and point values. Uses boundaryField.
| |
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 GeometricField< Type, fvPatchField, volMesh > &cCoords, const Field< Type > &pCoords) const |
Interpolates cCoords,pCoords. Uses the references to the original.
|
isoSurface | ( | const volScalarField & | cellIsoVals, |
const scalarField & | pointIsoVals, | ||
const scalar | iso, | ||
const bool | regularise, | ||
const scalar | mergeTol = 1E-6
|
||
) |
Construct from cell values and point values. Uses boundaryField.
for boundary values. Holds reference to cellIsoVals and pointIsoVals.
Definition at line 1752 of file isoSurface.C.
References Foam::dimLength, Foam::endl(), Foam::findIndices(), forAll, Foam::inplaceRenumber(), GeometricField< Type, PatchField, GeoMesh >::internalField(), Foam::max(), Foam::min(), IOobject::name(), Foam::nl, IOobject::NO_READ, IOobject::NO_WRITE, UList< labelledTri >::operator, polyPatch::patchSlice(), fileName::path(), Foam::Pout, PtrList< T >::set(), List< T >::setSize(), List< T >::size(), and polyPatch::start().
TypeName | ( | "isoSurface" | ) |
Runtime type information.
const labelList& meshCells | ( | ) | const [inline]
|
For every face original cell in mesh.
Definition at line 430 of file isoSurface.H.
const labelList& triPointMergeMap | ( | ) | const [inline]
|
For every unmerged triangle point the point in the triSurface.
Definition at line 436 of file isoSurface.H.
Foam::tmp< Foam::Field< Type > > interpolate | ( | const GeometricField< Type, fvPatchField, volMesh > & | cCoords, |
const Field< Type > & | pCoords | ||
) | const |
Interpolates cCoords,pCoords. Uses the references to the original.
fields used to create the iso surface.
Definition at line 695 of file isoSurfaceTemplates.C.
References Foam::abort(), Foam::endl(), Foam::FatalError, FatalErrorIn, forAll, points, Foam::Pout, and List< Type >::size().