Go to the documentation of this file.
61 bool operator==(
const cellShape&,
const cellShape&);
63 Ostream&
operator<<(Ostream&,
const cellShape&);
92 const bool doCollapse =
false
168 Ostream&
operator<<(Ostream& os,
const InfoProxy<cellShape>& ip);
void collapse()
Collapse shape to correct one after removing duplicate vertices.
point centre(const pointField &) const
Centroid of the cell.
A helper class for outputting values to Ostream.
labelList meshEdges(const edgeList &allEdges, const labelList &) const
Mesh edge labels of this cell (in order of model)
scalar mag(const pointField &) const
Scalar magnitude.
tmp< fvMatrix< Type > > operator==(const fvMatrix< Type > &, const fvMatrix< Type > &)
faceList faces() const
Faces of this cell.
pointField points(const pointField &meshPoints) const
Return the points corresponding to this cellShape.
friend bool operator==(const cellShape &, const cellShape &)
friend Istream & operator>>(Istream &, cellShape &)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
edgeList edges() const
Edges of this cellShape.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
autoPtr< cellShape > clone() const
Clone.
const cellModel * m
Access to the cellShape's model.
Ostream & operator<<(Ostream &, const edgeMesh &)
cellShape()
Construct null.
An analytical geometric cellShape.
label nFaces() const
Number of faces.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
friend Ostream & operator<<(Ostream &, const cellShape &)
label nEdges() const
Number of edges.
Foam::InfoProxy< cellShape > info() const
Return info proxy.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
label nPoints() const
Number of points.
faceList collapsedFaces() const
Collapsed faces of this cell.
Istream & operator>>(Istream &, edgeMesh &)
Maps a geometry to a set of cell primitives, which enables geometric cell data to be calculated witho...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A cell is defined as a list of faces with extra functionality.
labelList meshFaces(const faceList &allFaces, const cell &) const
Mesh face labels of this cell (in order of model)
const cellModel & model() const
Model reference.