FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

degenerateMatcher Class Reference

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

#include <OpenFOAM/degenerateMatcher.H>


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 58 of file degenerateMatcher.H.

Collaboration diagram for degenerateMatcher:

List of all members.

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.
static cellShape  match (const primitiveMesh &mesh, const label cellI)
 Recognize shape given mesh and cellI.

Member Function Documentation

Foam::cellShape match ( const faceList &   faces  ) [static]

Recognize shape given faces of a cell.

Definition at line 79 of file degenerateMatcher.C.

References cellMatcher::makeIdentity(), and List< T >::size().

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

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


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