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