38 #ifndef wedgeMatcher_H 39 #define wedgeMatcher_H 59 static const label vertPerCell;
60 static const label facePerCell;
61 static const label maxVertPerFace;
93 return maxVertPerFace;
102 const bool checkOnly,
virtual label nVertPerCell() const
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Base class for cellshape matchers (hexMatch, prismMatch, etc.). These are classes which given a mesh ...
virtual label nFacePerCell() const
Cell-face mesh analysis engine.
An analytical geometric cellShape.
virtual bool matchShape(const bool checkOnly, const faceList &faces, const labelList &faceOwner, const label celli, const labelList &myFaces)
Low level shape recognition. Return true if matches.
wedgeMatcher()
Construct null.
~wedgeMatcher()
Destructor.
virtual label nMaxVertPerFace() const
virtual label faceHashValue() const
Hash value of all face sizes of this shape. Can be used for.
A cellMatcher for wedge cells.
virtual bool isA(const primitiveMesh &mesh, const label celli)
Exact match. Uses faceSizeMatch.
void operator=(const wedgeMatcher &)=delete
Disallow default bitwise assignment.
virtual bool matches(const primitiveMesh &mesh, const label celli, cellShape &shape)
Like isA but also constructs a cellShape (if shape matches)
virtual bool faceSizeMatch(const faceList &, const labelList &) const
Check whether number of face sizes match the shape.