Go to the documentation of this file.
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 nMaxVertPerFace() const
wedgeMatcher()
Default construct.
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.
virtual bool faceSizeMatch(const faceList &, const labelList &) const
Check whether number of face sizes match the shape.
virtual bool isA(const primitiveMesh &mesh, const label celli)
Exact match. Uses faceSizeMatch.
virtual label faceHashValue() const
Hash value of all face sizes of this shape. Can be used for.
Base class for cellshape matchers (hexMatch, prismMatch, etc.). These are classes which given a mesh ...
virtual label nVertPerCell() const
~wedgeMatcher()=default
Destructor.
An analytical geometric cellShape.
virtual label nFacePerCell() const
A cellMatcher for wedge cells (cellModel::WEDGE).
virtual bool matches(const primitiveMesh &mesh, const label celli, cellShape &shape)
Like isA but also constructs a cellShape (if shape matches)
Cell-face mesh analysis engine.