41 word modelType(
"none");
45 Info<<
"Selecting sootModel " << modelType <<
endl;
48 auto* ctorPtr = dictionaryConstructorTable(modelType);
57 *dictionaryConstructorTablePtr_
61 const word className = modelType.substr(0, modelType.find(
'<'));
const dictionary & dict() const
Reference to the dictionary.
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...
static autoPtr< sootModel > New(const dictionary &dict, const fvMesh &mesh)
Selector.
Ostream & endl(Ostream &os)
Add newline and flush stream.
const fvMesh & mesh() const
Reference to the mesh.
A class for handling words, derived from Foam::string.
bool readIfPresent(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX) const
Find an entry if present, and assign to T val. FatalIOError if it is found and the number of tokens i...
Mesh data needed to do the Finite Volume discretisation.
messageStream Info
Information stream (stdout output on master, null elsewhere)
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...