degenerateMatcher Class Reference

Collection of all hex degenerate matchers (hex, wedge, prism etc.) Has static member function to match a shape. More...

Static Public Member Functions

static cellShape match (const faceList &faces)
 Recognise shape given faces of a cell. More...
 
static cellShape match (const cellShape &shape)
 Recognise given uncollapsed shape (usually hex) with duplicate. More...
 
static cellShape match (const primitiveMesh &mesh, const label celli)
 Recognise shape given mesh and celli. More...
 

Detailed Description

Collection of all hex degenerate matchers (hex, wedge, prism etc.) Has static member function to match a shape.

See also
cellMatcher
Source files

Definition at line 57 of file degenerateMatcher.H.

Member Function Documentation

◆ match() [1/3]

Foam::cellShape match ( const faceList faces)
static

Recognise shape given faces of a cell.

Definition at line 80 of file degenerateMatcher.C.

References Foam::identity(), and List< T >::size().

Here is the call graph for this function:

◆ match() [2/3]

Foam::cellShape match ( const cellShape shape)
static

Recognise given uncollapsed shape (usually hex) with duplicate.

vertices. cellShape just used to extract faces.

Definition at line 94 of file degenerateMatcher.C.

References cellShape::collapsedFaces().

Here is the call graph for this function:

◆ match() [3/3]

Foam::cellShape match ( const primitiveMesh mesh,
const label  celli 
)
static

Recognise shape given mesh and celli.

Definition at line 101 of file degenerateMatcher.C.

References primitiveMesh::cells(), primitiveMesh::faceOwner(), and primitiveMesh::faces().

Here is the call graph for this function:

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