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