62 static constexpr label vertPerCell = 8;
63 static constexpr label facePerCell = 6;
64 static constexpr label maxVertPerFace = 4;
113 return maxVertPerFace;
122 const bool checkOnly,
virtual label nMaxVertPerFace() const
virtual bool matches(const primitiveMesh &mesh, const label celli, cellShape &shape)
Like isA but also constructs a cellShape (if shape matches)
Base class for cellshape matchers (hexMatch, prismMatch, etc.). These are classes which given a mesh ...
virtual label faceHashValue() const
Hash value of all face sizes of this shape. Can be used for.
Cell-face mesh analysis engine.
An analytical geometric cellShape.
A cellMatcher for hex cells (cellModel::HEX).
static bool test(const UList< face > &faces)
Test if given list of faces satisfies criteria for HEX. (6 quad)
virtual label nVertPerCell() const
virtual bool isA(const faceList &faces)
Exact match given all the faces forming a cell. No checks.
virtual bool faceSizeMatch(const faceList &, const labelList &) const
Check whether number of face sizes match the shape.
~hexMatcher()=default
Destructor.
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.
hexMatcher()
Default construct.
virtual label nFacePerCell() const