46 const faceList& faces,
47 const labelList& owner,
49 const labelList& cellFaces
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))
Various functions to operate on Lists.
void size(const label n)
Older name for setAddressableSize.
const cellModel & model() const
const labelList & vertLabels() const
An analytical geometric cellShape.
faceList collapsedFaces() const
Collapsed faces of this cell.
reference ref() const
A reference to the entry (Error if not found)
Extrudes by rotating a surface symmetrically around axis by 1 layer.
A cellMatcher for hex cells (cellModel::HEX).
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 faceList & faces() const
Return raw faces.
virtual const labelList & faceOwner() const
Return face owner.
Cell-face mesh analysis engine.
const cellList & cells() const
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.
A cellMatcher for pyr cells (cellModel::PYR)
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 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.
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.
A cellMatcher for wedge cells (cellModel::WEDGE).
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)
List< label > labelList
A List of labels.
static constexpr const zero Zero
Global zero (0)