Iso-surface class based on the cutPoly cutting routines. More...
Public Member Functions | |
TypeName ("cutPolyIsoSurface") | |
Runtime type information. More... | |
cutPolyIsoSurface (const polyMesh &mesh, const scalarField &pAlphas, const scalar isoAlpha, const word &cellZoneName=word::null) | |
Construct from a mesh, point values and an iso-value. More... | |
cutPolyIsoSurface (const PtrList< cutPolyIsoSurface > &isos) | |
Construct by combining a list of iso-surfaces. More... | |
cutPolyIsoSurface (const cutPolyIsoSurface &)=delete | |
Disallow default bitwise copy construction. More... | |
virtual | ~cutPolyIsoSurface () |
Destructor. More... | |
const pointField & | points () const |
Points of the iso-surface. More... | |
const faceList & | faces () const |
Faces of the iso-surface. More... | |
const labelList & | faceCells () const |
The mesh cell index associated with each face. More... | |
template<class Type > | |
tmp< Field< Type > > | sample (const Field< Type > cPsis) const |
Return a field of values for the surface faces, sampled from their. More... | |
template<class Type > | |
tmp< Field< Type > > | interpolate (const Field< Type > &pPsis) const |
Return a field of values for the surface points, interpolated. More... | |
template<class Type > | |
Foam::tmp< Foam::Field< Type > > | sample (const Field< Type > cPsis) const |
template<class Type > | |
Foam::tmp< Foam::Field< Type > > | interpolate (const Field< Type > &pPsis) const |
Iso-surface class based on the cutPoly cutting routines.
Definition at line 49 of file cutPolyIsoSurface.H.
cutPolyIsoSurface | ( | const polyMesh & | mesh, |
const scalarField & | pAlphas, | ||
const scalar | isoAlpha, | ||
const word & | cellZoneName = word::null |
||
) |
Construct from a mesh, point values and an iso-value.
Definition at line 42 of file cutPolyIsoSurface.C.
References DynamicList< T, SizeInc, SizeMult, SizeDiv >::append(), Foam::cutPoly::cellCuts(), primitiveMesh::cells(), polyMesh::cellZones(), cpuTime::cpuTimeIncrement(), Foam::e, Foam::cutPoly::edgeCutLambda(), Foam::cutPoly::edgeCutValue(), HashTableCore::end(), Foam::endl(), Foam::cutPoly::faceCuts(), cutPolyIsoSurface::faces(), polyMesh::faces(), HashTable< T, Key, Hash >::find(), forAll, HashTable< T, Key, Hash >::insert(), lambda(), UList< T >::last(), DemandDrivenMeshObject< polyMesh, TopoChangeableMeshObject, cellEdgeAddressingList >::New(), Foam::nl, word::null, cutPolyIsoSurface::points(), polyMesh::points(), Foam::Pout, List< T >::size(), Foam::ListListOps::subSizes(), Foam::sum(), and List< T >::transfer().
cutPolyIsoSurface | ( | const PtrList< cutPolyIsoSurface > & | isos | ) |
Construct by combining a list of iso-surfaces.
Definition at line 180 of file cutPolyIsoSurface.C.
References forAll, nPoints, List< T >::resize(), and UPtrList< T >::size().
|
delete |
Disallow default bitwise copy construction.
|
virtual |
Destructor.
Definition at line 233 of file cutPolyIsoSurface.C.
TypeName | ( | "cutPolyIsoSurface" | ) |
Runtime type information.
|
inline |
Points of the iso-surface.
Definition at line 102 of file cutPolyIsoSurface.H.
Referenced by cutPolyIsoSurface::cutPolyIsoSurface().
|
inline |
Faces of the iso-surface.
Definition at line 108 of file cutPolyIsoSurface.H.
Referenced by cutPolyIsoSurface::cutPolyIsoSurface().
|
inline |
The mesh cell index associated with each face.
Definition at line 114 of file cutPolyIsoSurface.H.
Return a field of values for the surface faces, sampled from their.
associated cells
Return a field of values for the surface points, interpolated.
within their associated edges
Foam::tmp<Foam::Field<Type> > sample | ( | const Field< Type > | cPsis | ) | const |
Definition at line 32 of file cutPolyIsoSurfaceTemplates.C.
Foam::tmp<Foam::Field<Type> > interpolate | ( | const Field< Type > & | pPsis | ) | const |
Definition at line 42 of file cutPolyIsoSurfaceTemplates.C.
References Foam::cutPoly::edgeCutValue(), forAll, and tmp< T >::ref().