39 if (dict.
found(
"tabulation"))
43 const word methodName(tabulationDict.lookup(
"method"));
45 Info<<
"Selecting chemistry tabulation method " << methodName <<
endl;
47 typename dictionaryConstructorTable::iterator cstrIter =
48 dictionaryConstructorTablePtr_->find(methodName);
50 if (cstrIter == dictionaryConstructorTablePtr_->end())
53 <<
"Unknown " << typeName_() <<
" type " << methodName << endl
54 <<
"Valid " << typeName_() <<
" types are:" 55 << dictionaryConstructorTablePtr_->sortedToc() << endl
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Ostream & endl(Ostream &os)
Add newline and flush stream.
A chemistryTabulationMethod which does nothing to allow tabulation to be switched-off.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
A class for handling words, derived from string.
basicChemistryModel & chemistry
static autoPtr< chemistryTabulationMethod > New(const IOdictionary &dict, const odeChemistryModel &chemistry)
Extends base chemistry model adding an ODESystem and the reduction maps needed for tabulation...