37 const word combModelName
43 IOobject::groupName(
"combustionProperties", phaseName),
50 ).
lookup(
"combustionModel")
53 Info<<
"Selecting combustion model " << combModelName <<
endl;
55 dictionaryConstructorTable::iterator cstrIter =
56 dictionaryConstructorTablePtr_->find(combModelName);
58 if (cstrIter == dictionaryConstructorTablePtr_->end())
62 "psiCombustionModel::New" 63 ) <<
"Unknown psiCombustionModel type " 64 << combModelName << endl << endl
65 <<
"Valid combustionModels are : " << endl
66 << dictionaryConstructorTablePtr_->toc()
70 const label tempOpen = combModelName.find(
'<');
72 const word className = combModelName(0, tempOpen);
static autoPtr< psiCombustionModel > New(const fvMesh &mesh, const word &phaseName=word::null)
Selector.
Mesh data needed to do the Finite Volume discretisation.
A class for handling words, derived from string.
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)
const word & constant() const
Return constant name.
const Time & time() const
Return the top-level database.
Ostream & endl(Ostream &os)
Add newline and flush stream.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
#define FatalErrorIn(functionName)
Report an error message using Foam::FatalError.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...