Go to the documentation of this file.
40 dict.readEntry(
"index", index_);
41 dict.readEntry(
"numberOfPoints", nPoints_);
42 dict.readEntry(
"faces", faces_);
43 dict.readEntry(
"edges", edges_);
64 const cellModel& cm = ip.t_;
66 os <<
"name = " << cm.
name() <<
", "
67 <<
"index = " << cm.index() <<
", "
68 <<
"number of points = " << cm.nPoints() <<
", "
69 <<
"number of faces = " << cm.nFaces() <<
", "
70 <<
"number of edges = " << cm.nEdges() <<
endl;
label index() const noexcept
Return index of model in the model list.
A keyword and a list of tokens is a 'dictionaryEntry'.
virtual const fileName & name() const
Read/write access to the name of the stream.
virtual const dictionary & dict() const noexcept
Return dictionary (ie, this)
const keyType & keyword() const noexcept
Return keyword.
Ostream & endl(Ostream &os)
Add newline and flush stream.
cellModel(Istream &is)
Construct from Istream.
static const dictionary null
An empty dictionary, which is also the parent for all dictionaries.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
const edgeList & modelEdges() const noexcept
Return a raw list of model edges.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
const word & name() const noexcept
Return model name.
label nPoints() const noexcept
Return number of points.
const faceList & modelFaces() const noexcept
Return a raw list of model faces.
Maps a geometry to a set of cell primitives.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...