79 const word blockOrCellShapeType(is);
81 IstreamConstructorTable::iterator cstrIter =
82 IstreamConstructorTablePtr_->find(blockOrCellShapeType);
84 if (cstrIter == IstreamConstructorTablePtr_->end())
86 is.
putBack(blockOrCellShapeType);
111 os <<
b.points() <<
nl
113 <<
b.boundaryPatches() <<
endl;
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
void putBack(const token &)
Put back token.
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...
Takes the description of the block and the list of curved edges and creates a list of points on edges...
Creates a single block of cells from point coordinates, numbers of cells in each direction and an exp...
block(const dictionary &dict, const label index, const pointField &vertices, const blockEdgeList &edges, const blockFaceList &faces, Istream &is)
Construct from components with Istream.
static autoPtr< block > New(const dictionary &dict, const label index, const pointField &points, const blockEdgeList &edges, const blockFaceList &faces, Istream &)
New function which constructs and returns pointer to a block.
A list of keyword definitions, which are a keyword followed by any number of values (e....
A class for handling words, derived from string.
#define InfoInFunction
Report an information message using Foam::Info.
pointField vertices(const blockVertexList &bvl)
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Ostream & endl(Ostream &os)
Add newline and flush stream.
defineTypeNameAndDebug(combustionModel, 0)
Ostream & operator<<(Ostream &os, const fvConstraints &constraints)