degenerateMatcher Class Reference

Collection of all hex degenerate matchers (hex, wedge, prism etc.) 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)
 
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 60 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 83 of file degenerateMatcher.C.

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

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 97 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 103 of file degenerateMatcher.C.

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

Here is the call graph for this function:

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