Loading...
Searching...
No Matches
degenerateMatcher Class Reference

Collection of all hex degenerate matchers (hex, wedge, prism etc.). More...

#include <degenerateMatcher.H>

Static Public Member Functions

static cellShape match (const faceList &faces)
 Recognize shape given faces of a cell.
static cellShape match (const cellShape &shape)
 Recognize given uncollapsed shape (usually hex) with duplicate vertices. cellShape just used to extract faces.
static cellShape match (const primitiveMesh &mesh, const label celli)
 Recognize shape given mesh and celli.

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 56 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 76 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 90 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 96 of file degenerateMatcher.C.

References match(), and mesh.

Referenced by match().

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

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