Static Public Member Functions | List of all members
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)
 Recognize shape given faces of a cell. More...
 
static cellShape match (const cellShape &shape)
 Recognize given uncollapsed shape (usually hex) with duplicate. More...
 
static cellShape match (const primitiveMesh &mesh, const label celli)
 Recognize 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

Recognize 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

Recognize 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

Recognize 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: