54 if (hex.
matchShape(
false, faces, owner, celli, cellFaces))
58 if (tet.
matchShape(
false, faces, owner, celli, cellFaces))
62 if (prism.
matchShape(
false, faces, owner, celli, cellFaces))
66 if (pyr.
matchShape(
false, faces, owner, celli, cellFaces))
70 if (wedge.
matchShape(
false, faces, owner, celli, cellFaces))
74 if (tetWedge.
matchShape(
false, faces, owner, celli, cellFaces))
const labelList & vertLabels() const
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.
Cell-face mesh analysis engine.
An analytical geometric cellShape.
A cellMatcher for prism cells (cellModel::PRISM)
A cellMatcher for pyr cells (cellModel::PYR)
A cellMatcher for hex cells (cellModel::HEX).
const cellList & cells() 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.
bool match(const UList< wordRe > &selectors, const std::string &text)
True if text matches one of the selector expressions.
Various functions to operate on Lists.
static const cellModel & ref(const modelType model)
Look up reference to cellModel by enumeration. Fatal on failure.
List< face > faceList
List of faces.
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.
labelList identity(const label len, label start=0)
Return an identity map of the given length with (map[i] == i), works like std::iota() but returning a...
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 const labelList & faceOwner() const
Return face owner.
virtual const faceList & faces() const
Return raw faces.
faceList collapsedFaces() const
Collapsed faces of this cell.
const cellModel & model() 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.
A cellMatcher for wedge cells (cellModel::WEDGE).
A cellMatcher for tetWedge cells (cellModel::TETWEDGE).
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.
List< label > labelList
A List of labels.
static constexpr const zero Zero
Global zero (0)