56 inline bool operator==(
const cellModel&,
const cellModel&);
57 inline bool operator!=(
const cellModel&,
const cellModel&);
58 Ostream&
operator<<(Ostream&,
const cellModel&);
bool good() const
Return true if next operation might succeed.
A helper class for outputting values to Ostream.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Maps a geometry to a set of cell primitives, which enables geometric cell data to be calculated witho...
static autoPtr< cellModel > New(Istream &is)
Return a new cellModel on free-store created from Istream.
cellModel(Istream &)
Construct from Istream.
label nEdges() const
Return number of edges.
label nPoints() const
Return number of points.
edgeList edges(const labelList &pointLabels) const
Return list of edges.
InfoProxy< cellModel > info() const
Return info proxy.
friend bool operator!=(const cellModel &, const cellModel &)
Inequality operator: true => ptr to models are not equal !
friend Ostream & operator<<(Ostream &, const cellModel &)
label index() const
Return index of model in the model list.
bool writeData(Ostream &os) const
WriteData member function required by regIOobject.
const word & name() const
Return model name.
vector centre(const labelList &pointLabels, const pointField &points) const
Vector centroid.
faceList faces(const labelList &pointLabels) const
Return list of faces.
scalar mag(const labelList &pointLabels, const pointField &points) const
Cell volume.
autoPtr< cellModel > clone() const
Return clone.
friend bool operator==(const cellModel &, const cellModel &)
Equality operator: true => ptr to models are equal !
label nFaces() const
Return number of faces.
const faceList & modelFaces() const
Return a raw list of model faces.
A class for handling words, derived from string.
bool operator!=(const particle &, const particle &)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
tmp< fvMatrix< Type > > operator==(const fvMatrix< Type > &, const fvMatrix< Type > &)
Ostream & operator<<(Ostream &os, const fvConstraints &constraints)
labelList pointLabels(nPoints, -1)