40 dict.readEntry(
"index", index_);
41 dict.readEntry(
"numberOfPoints", nPoints_);
42 dict.readEntry(
"faces", faces_);
43 dict.readEntry(
"edges", edges_);
51 os <<
"name" <<
tab << cm.name() <<
tab 52 <<
"index" <<
tab << cm.index() <<
tab 53 <<
"numberOfPoints" <<
tab << cm.nPoints() <<
tab 54 <<
"faces" <<
tab << cm.modelFaces() <<
tab 55 <<
"edges" <<
tab << cm.modelEdges() <<
endl;
65 const InfoProxy<cellModel>& iproxy
68 const auto& cm = *iproxy;
70 os <<
"name = " << cm.
name() <<
", " 71 <<
"index = " << cm.index() <<
", " 72 <<
"number of points = " << cm.nPoints() <<
", " 73 <<
"number of faces = " << cm.nFaces() <<
", " 74 <<
"number of edges = " << cm.nEdges() <<
endl;
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual const fileName & name() const override
Read/write access to the name of the stream.
cellModel(Istream &is)
Construct from Istream.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
Ostream & endl(Ostream &os)
Add newline and flush stream.
constexpr char tab
The tab '\t' character(0x09)
A keyword and a list of tokens is a 'dictionaryEntry'.
const keyType & keyword() const noexcept
Return keyword.
static const dictionary null
An empty dictionary, which is also the parent for all dictionaries.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
virtual const dictionary & dict() const noexcept
Return dictionary (ie, this)