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
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
static autoPtr< chemistryTabulationMethod > New(const IOdictionary &dict, const odeChemistryModel &chemistry)
A chemistryTabulationMethod which does nothing to allow tabulation to be switched-off.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
Extends base chemistry model adding an ODESystem and the reduction maps needed for tabulation.
A class for handling words, derived from string.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
Ostream & endl(Ostream &os)
Add newline and flush stream.
basicChemistryModel & chemistry