Public Member Functions | List of all members
tetWedgeMatcher Class Reference

A cellMatcher for tetWedge cells (cellModel::TETWEDGE). More...

Inheritance diagram for tetWedgeMatcher:
Inheritance graph
[legend]
Collaboration diagram for tetWedgeMatcher:
Collaboration graph
[legend]

Public Member Functions

 tetWedgeMatcher ()
 
 ~tetWedgeMatcher ()=default
 
virtual label nVertPerCell () const
 
virtual label nFacePerCell () const
 
virtual label nMaxVertPerFace () const
 
virtual label faceHashValue () const
 
virtual bool faceSizeMatch (const faceList &, const labelList &) const
 
virtual bool matchShape (const bool checkOnly, const faceList &faces, const labelList &faceOwner, const label celli, const labelList &myFaces)
 
virtual bool isA (const primitiveMesh &mesh, const label celli)
 
virtual bool isA (const faceList &)
 
virtual bool matches (const primitiveMesh &mesh, const label celli, cellShape &shape)
 
- Public Member Functions inherited from cellMatcher
 cellMatcher (const label vertPerCell, const label facePerCell, const label maxVertPerFace, const word &cellModelName)
 
virtual ~cellMatcher ()=default
 
const Map< label > & localPoint () const
 
const faceListlocalFaces () const
 
const labelListfaceSize () const
 
const labelListpointMap () const
 
const labelListfaceMap () const
 
const labelListedgeFaces () const
 
const labelListListpointFaceIndex () const
 
const labelListvertLabels () const
 
const labelListfaceLabels () const
 
const cellModelmodel () const
 
void write (Ostream &os) const
 

Additional Inherited Members

- Protected Member Functions inherited from cellMatcher
label calcLocalFaces (const faceList &faces, const labelList &myFaces)
 
void calcEdgeAddressing (const label numVert)
 
void calcPointFaceIndex ()
 
label otherFace (const label numVert, const label v0, const label v1, const label localFacei) const
 
 cellMatcher (const cellMatcher &)=delete
 
cellMatcheroperator= (const cellMatcher &)=delete
 
- Static Protected Member Functions inherited from cellMatcher
static label edgeKey (const label numVert, const label v0, const label v1)
 
static label nextVert (const label, const label, const bool)
 
- Protected Attributes inherited from cellMatcher
Map< label > localPoint_
 
faceList localFaces_
 
labelList faceSize_
 
labelList pointMap_
 
labelList faceMap_
 
labelList edgeFaces_
 
labelListList pointFaceIndex_
 
labelList vertLabels_
 
labelList faceLabels_
 
const word cellModelName_
 
const cellModelcellModelPtr_
 

Detailed Description

A cellMatcher for tetWedge cells (cellModel::TETWEDGE).

See also
cellMatcher, cellModel
Source files

Definition at line 49 of file tetWedgeMatcher.H.

Constructor & Destructor Documentation

◆ tetWedgeMatcher()

Definition at line 29 of file tetWedgeMatcher.C.

◆ ~tetWedgeMatcher()

~tetWedgeMatcher ( )
default

Member Function Documentation

◆ nVertPerCell()

virtual label nVertPerCell ( ) const
inlinevirtual

Implements cellMatcher.

Definition at line 84 of file tetWedgeMatcher.H.

◆ nFacePerCell()

virtual label nFacePerCell ( ) const
inlinevirtual

Implements cellMatcher.

Definition at line 89 of file tetWedgeMatcher.H.

◆ nMaxVertPerFace()

virtual label nMaxVertPerFace ( ) const
inlinevirtual

Implements cellMatcher.

Definition at line 94 of file tetWedgeMatcher.H.

◆ faceHashValue()

Foam::label faceHashValue ( ) const
virtual

Implements cellMatcher.

Definition at line 204 of file tetWedgeMatcher.C.

◆ faceSizeMatch()

bool faceSizeMatch ( const faceList faces,
const labelList myFaces 
) const
virtual

Implements cellMatcher.

Definition at line 211 of file tetWedgeMatcher.C.

◆ matchShape()

bool matchShape ( const bool  checkOnly,
const faceList faces,
const labelList faceOwner,
const label  celli,
const labelList myFaces 
)
virtual

Implements cellMatcher.

Definition at line 44 of file tetWedgeMatcher.C.

References forAll, and Foam::meshTools::otherFace().

Here is the call graph for this function:

◆ isA() [1/2]

bool isA ( const primitiveMesh mesh,
const label  celli 
)
virtual

Implements cellMatcher.

Definition at line 246 of file tetWedgeMatcher.C.

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

Here is the call graph for this function:

◆ isA() [2/2]

bool isA ( const faceList faces)
virtual

Implements cellMatcher.

Definition at line 259 of file tetWedgeMatcher.C.

References Foam::identity(), and Foam::Zero.

Here is the call graph for this function:

◆ matches()

bool matches ( const primitiveMesh mesh,
const label  celli,
cellShape shape 
)
virtual

Implements cellMatcher.

Definition at line 274 of file tetWedgeMatcher.C.

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

Here is the call graph for this function:

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