34 const word& combustionProperties,
38 const word combTypeName
44 IOobject::groupName(combustionProperties, phaseName),
51 ).
lookup(
"combustionModel")
54 Info<<
"Selecting combustion model " << combTypeName <<
endl;
56 dictionaryConstructorTable::iterator cstrIter =
57 dictionaryConstructorTablePtr_->find(combTypeName);
59 if (cstrIter == dictionaryConstructorTablePtr_->end())
62 <<
"Unknown rhoCombustionModel type " 63 << combTypeName << endl << endl
64 <<
"Valid combustionModels are : " << endl
65 << dictionaryConstructorTablePtr_->toc()
69 const label tempOpen = combTypeName.find(
'<');
71 const word className = combTypeName(0, tempOpen);
75 cstrIter()(className,
mesh, combustionProperties, phaseName)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Ostream & endl(Ostream &os)
Add newline and flush stream.
const Time & time() const
Return the top-level database.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
A class for handling words, derived from string.
const word & constant() const
Return constant name.
Mesh data needed to do the Finite Volume discretisation.
static autoPtr< rhoCombustionModel > New(const fvMesh &mesh, const word &combustionProperties=combustionPropertiesName, const word &phaseName=word::null)
Selector.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.