Go to the documentation of this file.
61 static constexpr
label vertPerCell = 8;
62 static constexpr
label facePerCell = 6;
63 static constexpr
label maxVertPerFace = 4;
100 return maxVertPerFace;
109 const bool checkOnly,
virtual bool faceSizeMatch(const faceList &, const labelList &) const
Check whether number of face sizes match the shape.
virtual label nFacePerCell() const
virtual label nVertPerCell() const
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 ...
A cellMatcher for hex cells (cellModel::HEX).
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual label nMaxVertPerFace() const
virtual bool isA(const primitiveMesh &mesh, const label celli)
Exact match. Uses faceSizeMatch.
virtual bool matches(const primitiveMesh &mesh, const label celli, cellShape &shape)
Like isA but also constructs a cellShape (if shape matches)
An analytical geometric cellShape.
virtual label faceHashValue() const
Hash value of all face sizes of this shape. Can be used for.
hexMatcher()
Construct null.
Cell-face mesh analysis engine.