cutPolyIsoSurface Class Reference

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 pointFieldpoints () const
 Points of the iso-surface. More...
 
const faceListfaces () const
 Faces of the iso-surface. More...
 
const labelListfaceCells () 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
 

Detailed Description

Iso-surface class based on the cutPoly cutting routines.

Source files

Definition at line 49 of file cutPolyIsoSurface.H.

Constructor & Destructor Documentation

◆ cutPolyIsoSurface() [1/3]

◆ cutPolyIsoSurface() [2/3]

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

Here is the call graph for this function:

◆ cutPolyIsoSurface() [3/3]

cutPolyIsoSurface ( const cutPolyIsoSurface )
delete

Disallow default bitwise copy construction.

◆ ~cutPolyIsoSurface()

~cutPolyIsoSurface ( )
virtual

Destructor.

Definition at line 233 of file cutPolyIsoSurface.C.

Member Function Documentation

◆ TypeName()

TypeName ( "cutPolyIsoSurface"  )

Runtime type information.

◆ points()

const pointField& points ( ) const
inline

Points of the iso-surface.

Definition at line 102 of file cutPolyIsoSurface.H.

Referenced by cutPolyIsoSurface::cutPolyIsoSurface().

Here is the caller graph for this function:

◆ faces()

const faceList& faces ( ) const
inline

Faces of the iso-surface.

Definition at line 108 of file cutPolyIsoSurface.H.

Referenced by cutPolyIsoSurface::cutPolyIsoSurface().

Here is the caller graph for this function:

◆ faceCells()

const labelList& faceCells ( ) const
inline

The mesh cell index associated with each face.

Definition at line 114 of file cutPolyIsoSurface.H.

◆ sample() [1/2]

tmp<Field<Type> > sample ( const Field< Type >  cPsis) const

Return a field of values for the surface faces, sampled from their.

associated cells

◆ interpolate() [1/2]

tmp<Field<Type> > interpolate ( const Field< Type > &  pPsis) const

Return a field of values for the surface points, interpolated.

within their associated edges

◆ sample() [2/2]

Foam::tmp<Foam::Field<Type> > sample ( const Field< Type >  cPsis) const

Definition at line 32 of file cutPolyIsoSurfaceTemplates.C.

◆ interpolate() [2/2]

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

Here is the call graph for this function:

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