36 word viscosityModelType(
dict.lookup(
"granularViscosityModel"));
38 Info<<
"Selecting granularViscosityModel "
39 << viscosityModelType <<
endl;
41 dictionaryConstructorTable::iterator cstrIter =
42 dictionaryConstructorTablePtr_->find(viscosityModelType);
44 if (cstrIter == dictionaryConstructorTablePtr_->end())
47 <<
"viscosityModel::New(const dictionary&) : " <<
endl
48 <<
" unknown granularViscosityModel type "
50 <<
", constructor not in hash table" <<
endl <<
endl
51 <<
" Valid granularViscosityModel types are :" <<
endl;
A list of keyword definitions, which are a keyword followed by any number of values (e....
static autoPtr< viscosityModel > New(const dictionary &dict)
A class for handling words, derived from string.
Ostream & endl(Ostream &os)
Add newline and flush stream.
errorManip< error > abort(error &err)