Public Member Functions | List of all members
wedgeMatcher Class Reference

A cellMatcher for wedge cells (cellModel::WEDGE). More...

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

Public Member Functions

 wedgeMatcher ()
 
 ~wedgeMatcher ()=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 wedge cells (cellModel::WEDGE).

See also
cellMatcher, cellModel
Source files

Definition at line 49 of file wedgeMatcher.H.

Constructor & Destructor Documentation

◆ wedgeMatcher()

Definition at line 27 of file wedgeMatcher.C.

◆ ~wedgeMatcher()

~wedgeMatcher ( )
default

Member Function Documentation

◆ nVertPerCell()

virtual label nVertPerCell ( ) const
inlinevirtual

Implements cellMatcher.

Definition at line 84 of file wedgeMatcher.H.

◆ nFacePerCell()

virtual label nFacePerCell ( ) const
inlinevirtual

Implements cellMatcher.

Definition at line 89 of file wedgeMatcher.H.

◆ nMaxVertPerFace()

virtual label nMaxVertPerFace ( ) const
inlinevirtual

Implements cellMatcher.

Definition at line 94 of file wedgeMatcher.H.

◆ faceHashValue()

Foam::label faceHashValue ( ) const
virtual

Implements cellMatcher.

Definition at line 304 of file wedgeMatcher.C.

◆ faceSizeMatch()

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

Implements cellMatcher.

Definition at line 311 of file wedgeMatcher.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 42 of file wedgeMatcher.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 346 of file wedgeMatcher.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 359 of file wedgeMatcher.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 374 of file wedgeMatcher.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: