47 const word& regionType
54 regionType +
"Properties",
55 mesh.time().constant(),
65 Info<<
"Selecting pyrolysisModel " << modelType <<
endl;
67 auto* ctorPtr = meshConstructorTable(modelType);
76 *meshConstructorTablePtr_
88 const word& regionType
94 Info<<
"Selecting pyrolysisModel " << modelType <<
endl;
96 auto* ctorPtr = dictionaryConstructorTable(modelType);
105 *dictionaryConstructorTablePtr_
IOdictionary(const IOobject &io, const dictionary *fallback=nullptr)
Construct given an IOobject and optional fallback dictionary content.
@ NO_REGISTER
Do not request registration (bool: false).
@ MUST_READ
Reading required.
@ NO_WRITE
Ignore writing from objectRegistry::writeObject().
Defines the attributes of an object for which implicit objectRegistry management is supported,...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
dictionary()
Default construct, a top-level empty dictionary.
Mesh data needed to do the Finite Volume discretisation.
static autoPtr< pyrolysisModel > New(const fvMesh &mesh, const word ®ionType="pyrolysis")
Return a reference to the selected pyrolysis model.
A class for handling words, derived from Foam::string.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
messageStream Info
Information stream (stdout output on master, null elsewhere).
Ostream & endl(Ostream &os)
Add newline and flush stream.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...
errorManipArg< error, int > exit(error &err, const int errNo=1)