Go to the documentation of this file.
40 #ifndef prismMatcher_H
41 #define prismMatcher_H
61 static constexpr label vertPerCell = 6;
62 static constexpr label facePerCell = 5;
63 static constexpr label maxVertPerFace = 4;
101 return maxVertPerFace;
110 const bool checkOnly,
A cellMatcher for prism cells (cellModel::PRISM)
Base class for cellshape matchers (hexMatch, prismMatch, etc.). These are classes which given a mesh ...
virtual bool isA(const primitiveMesh &mesh, const label celli)
Exact match. Uses faceSizeMatch.
~prismMatcher()=default
Destructor.
An analytical geometric cellShape.
prismMatcher()
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 label nFacePerCell() const
virtual bool matches(const primitiveMesh &mesh, const label celli, cellShape &shape)
Like isA but also constructs a cellShape (if shape matches)
virtual label nMaxVertPerFace() const
virtual bool faceSizeMatch(const faceList &, const labelList &) const
Check whether number of face sizes match the shape.
virtual label faceHashValue() const
Hash value of all face sizes of this shape. Can be used for.
virtual label nVertPerCell() const
Cell-face mesh analysis engine.