40 #ifndef wedgeMatcher_H 41 #define wedgeMatcher_H 61 static constexpr label vertPerCell = 7;
62 static constexpr label facePerCell = 6;
63 static constexpr label maxVertPerFace = 4;
101 return maxVertPerFace;
110 const bool checkOnly,
virtual label nVertPerCell() const
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()
Default construct.
virtual label nMaxVertPerFace() const
~wedgeMatcher()=default
Destructor.
virtual label faceHashValue() const
Hash value of all face sizes of this shape. Can be used for.
A cellMatcher for wedge cells (cellModel::WEDGE).
virtual bool isA(const primitiveMesh &mesh, const label celli)
Exact match. Uses faceSizeMatch.
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.