62 static constexpr label vertPerCell = 5;
63 static constexpr label facePerCell = 5;
64 static constexpr label maxVertPerFace = 4;
113 return maxVertPerFace;
122 const bool checkOnly,
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
Base class for cellshape matchers (hexMatch, prismMatch, etc.). These are classes which given a mesh ...
An analytical geometric cellShape.
Cell-face mesh analysis engine.
A cellMatcher for pyr cells (cellModel::PYR)
virtual bool faceSizeMatch(const faceList &, const labelList &) const
Check whether number of face sizes match the shape.
static bool test(const UList< face > &faces)
virtual bool isA(const primitiveMesh &mesh, const label celli)
Exact match. Uses faceSizeMatch.
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 label nVertPerCell() const
virtual bool matches(const primitiveMesh &mesh, const label celli, cellShape &shape)
Like isA but also constructs a cellShape (if shape matches)
pyrMatcher()
Default construct.
~pyrMatcher()=default
Destructor.
virtual label nMaxVertPerFace() const
virtual label faceHashValue() const
Hash value of all face sizes of this shape. Can be used for.
virtual label nFacePerCell() const
virtual bool isA(const faceList &faces)
Exact match given all the faces forming a cell. No checks.