Static Public Member Functions | Static Private Member Functions | Static Private Attributes
degenerateMatcher Class Reference

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

Collaboration diagram for degenerateMatcher:
Collaboration graph
[legend]

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

Static Private Member Functions

static cellShape match (const faceList &faces, const labelList &faceOwner, const label cellI, const labelList &cellFaces)
 Recognize basic shape. More...
 

Static Private Attributes

static hexMatcher hex
 Matchers for all degenerate hex shapes. More...
 
static wedgeMatcher wedge
 
static prismMatcher prism
 
static tetWedgeMatcher tetWedge
 
static pyrMatcher pyr
 
static tetMatcher tet
 

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/4]

Foam::cellShape match ( const faceList faces,
const labelList faceOwner,
const label  cellI,
const labelList cellFaces 
)
staticprivate

Recognize basic shape.

Definition at line 40 of file degenerateMatcher.C.

References Foam::hex(), and lookup().

Referenced by primitiveMesh::calcCellShapes(), hexRef8::cellShapes(), cellShape::collapse(), and degenerateMatcher::match().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ match() [2/4]

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(), degenerateMatcher::match(), and List::size().

Here is the call graph for this function:

◆ match() [3/4]

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() [4/4]

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(), polyMesh::faceOwner(), polyMesh::faces(), and mesh.

Here is the call graph for this function:

Field Documentation

◆ hex

Foam::hexMatcher hex
staticprivate

Matchers for all degenerate hex shapes.

Definition at line 63 of file degenerateMatcher.H.

◆ wedge

Foam::wedgeMatcher wedge
staticprivate

Definition at line 64 of file degenerateMatcher.H.

◆ prism

Foam::prismMatcher prism
staticprivate

Definition at line 65 of file degenerateMatcher.H.

◆ tetWedge

Foam::tetWedgeMatcher tetWedge
staticprivate

Definition at line 66 of file degenerateMatcher.H.

◆ pyr

Foam::pyrMatcher pyr
staticprivate

Definition at line 67 of file degenerateMatcher.H.

◆ tet

Foam::tetMatcher tet
staticprivate

Definition at line 68 of file degenerateMatcher.H.


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