73 else if (firstToken.isWord())
75 const word faceType(firstToken.wordToken());
77 auto* ctorPtr = IstreamConstructorTable(faceType);
86 *IstreamConstructorTablePtr_
90 return autoPtr<blockVertex>(ctorPtr(
dict, index, geometry, is));
94 <<
"incorrect first token, expected <word> or '(', found " 95 << firstToken.info() <<
nl
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by a number of values (eg...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
constexpr char nl
The newline '\n' character (0x0a)
A token holds an item read from Istream.
Ostream & endl(Ostream &os)
Add newline and flush stream.
label readLabel(const char *buf)
Parse entire buffer as a label, skipping leading/trailing whitespace.
Begin list [isseparator].
static autoPtr< blockVertex > New(const dictionary &dict, const label index, const searchableSurfaces &geometry, Istream &)
New function which constructs and returns pointer to a blockVertex.
void putBack(const token &tok)
Put back a token (copy). Only a single put back is permitted.
#define DebugInFunction
Report an information message using Foam::Info.
Container for searchableSurfaces. The collection is specified as a dictionary. For example...
static label read(Istream &, const dictionary &)
Read vertex index with optional name lookup.
errorManip< error > abort(error &err)
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
OBJstream os(runTime.globalPath()/outputName)
defineTypeNameAndDebug(combustionModel, 0)
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
virtual autoPtr< blockVertex > clone() const
Clone function.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
static void write(Ostream &, const label, const dictionary &)
Write vertex index with optional name backsubstitution.
const dictionary * findDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a sub-dictionary pointer if present (and it is a dictionary) otherwise return nullptr...
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...