75 inline explicit
cell(const label sz);
119 const label masterFaceLabel,
126 const label masterFaceLabel,
169bool operator==(const
cell& a, const
cell&
b);
172inline
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)....
An ordered pair of two objects of type <T> with first() and second() elements.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
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.
pointField points(const faceUList &meshFaces, const UList< point > &meshPoints) const
Return the cell vertices given the list of faces and mesh points.
Pair< point > box(const UList< point > &meshPoints, const faceUList &meshFaces) const
The bounding box for the cell.
static const char *const typeName
Class containing opposite face for a prismatic cell with addressing and a possibility of failure.
Cell-face mesh analysis engine.
List< edge > edgeList
List of edge.
List< label > labelList
A List of labels.
vector point
Point is a vector.
vectorField pointField
pointField is a vectorField.
UList< label > labelUList
A UList of labels.
UList< face > faceUList
UList of faces.
const Vector< label > N(dict.get< Vector< label > >("N"))