Go to the documentation of this file.
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))
List< label > labelList
A List of labels.
A cellMatcher for prism cells (cellModel::PRISM)
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.
static constexpr const zero Zero
Global zero (0)
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.
const cellList & cells() 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.
const labelList & vertLabels() const
A cellMatcher for pyr cells (cellModel::PYR)
A cellMatcher for hex cells (cellModel::HEX).
virtual const labelList & faceOwner() const
Return face owner.
static const cellModel & ref(const modelType model)
Look up reference to cellModel by enumeration. Fatal on failure.
An analytical geometric cellShape.
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 > &patterns, const std::string &text)
Return true if text matches one of the regular expressions.
virtual const faceList & faces() const
Return raw faces.
A cellMatcher for wedge cells (cellModel::WEDGE).
List< face > faceList
A 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)
Create identity map of the given length with (map[i] == i)
faceList collapsedFaces() const
Collapsed faces of this cell.
Various functions to operate on Lists.
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.
Cell-face mesh analysis engine.