Go to the documentation of this file.
37 namespace regionModels
39 namespace pyrolysisModels
47 const word& regionType
54 regionType +
"Properties",
55 mesh.time().constant(),
65 Info<<
"Selecting pyrolysisModel " << modelType <<
endl;
67 auto cstrIter = meshConstructorTablePtr_->cfind(modelType);
69 if (!cstrIter.found())
76 *meshConstructorTablePtr_
88 const word& regionType
94 Info<<
"Selecting pyrolysisModel " << modelType <<
endl;
96 auto cstrIter = dictionaryConstructorTablePtr_->cfind(modelType);
98 if (!cstrIter.found())
105 *dictionaryConstructorTablePtr_
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
Defines the attributes of an object for which implicit objectRegistry management is supported,...
A class for handling words, derived from Foam::string.
Ostream & endl(Ostream &os)
Add newline and flush stream.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
messageStream Info
Information stream (uses stdout - output is on the master only)
static autoPtr< pyrolysisModel > New(const fvMesh &mesh, const word ®ionType="pyrolysis")
Return a reference to the selected pyrolysis model.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
errorManipArg< error, int > exit(error &err, const int errNo=1)
Pointer management similar to std::unique_ptr, with some additional methods and type checking.