56 blockMeshTools::read<label>
85 const word faceType(is);
87 IstreamConstructorTable::iterator cstrIter =
88 IstreamConstructorTablePtr_->find(faceType);
90 if (cstrIter == IstreamConstructorTablePtr_->end())
93 <<
"Unknown blockFace type " 94 << faceType <<
nl <<
nl 95 <<
"Valid blockFace types are" <<
endl 96 << IstreamConstructorTablePtr_->sortedToc()
#define forAll(list, i)
Loop across all elements in list.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A face is a list of labels corresponding to mesh vertices.
blockFace(const face &vertices)
Construct from face vertices.
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
void size(const label)
Override size to be inconsistent with allocated storage.
Ostream & endl(Ostream &os)
Add newline and flush stream.
static autoPtr< blockFace > New(const dictionary &dict, const label index, const searchableSurfaces &geometry, Istream &)
New function which constructs and returns pointer to a blockFace.
pointField vertices(const blockVertexList &bvl)
A class for handling words, derived from string.
virtual autoPtr< blockFace > clone() const
Clone function.
Container for searchableSurfaces.
errorManip< error > abort(error &err)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
defineTypeNameAndDebug(combustionModel, 0)
void write(Ostream &, const dictionary &) const
Write face with variable backsubstitution.
const face vertices_
Block face vertices.
Ostream & operator<<(Ostream &, const ensightPart &)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
static void write(Ostream &, const label, const dictionary &)
Write vertex index with optional name backsubstitution.
dictionary subOrEmptyDict(const word &, const bool mustRead=false) const
Find and return a sub-dictionary as a copy, or.
#define InfoInFunction
Report an information message using Foam::Info.