72 inline explicit
cell(const label sz);
116 const label masterFaceLabel,
123 const label masterFaceLabel,
156bool operator==(const
cell& a, const
cell&
b);
159inline
bool operator!=(const
cell& a, const
cell&
b);
A 1D vector of objects of type <T> with a fixed length <N>.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
A cell is defined as a list of faces with extra functionality.
labelList labels(const faceUList &meshFaces) const
Return unordered list of cell vertices given the list of faces.
constexpr cell() noexcept=default
Default construct.
oppositeFace opposingFace(const label masterFaceLabel, const faceUList &meshFaces) const
Return opposite face oriented the same way as the master face.
edgeList edges(const faceUList &meshFaces) const
Return cell edges.
scalar mag(const UList< point > &meshPoints, const faceUList &meshFaces) const
Returns cell volume.
label opposingFaceLabel(const label masterFaceLabel, const faceUList &meshFaces) const
Return index of opposite face.
point centre(const UList< point > &meshPoints, const faceUList &meshFaces) const
Returns cell centre.
label nFaces() const noexcept
Return number of faces.
static const char *const typeName
Class containing opposite face for a prismatic cell with addressing and a possibility of failure.
const Vector< label > N(dict.get< Vector< label > >("N"))