32 const dictionary& dict
35 word granularPressureModelType(dict.lookup(
"granularPressureModel"));
37 Info<<
"Selecting granularPressureModel "
38 << granularPressureModelType <<
endl;
40 dictionaryConstructorTable::iterator cstrIter =
41 dictionaryConstructorTablePtr_->find(granularPressureModelType);
43 if (cstrIter == dictionaryConstructorTablePtr_->end())
46 <<
"granularPressureModel::New(const dictionary&) : " << endl
47 <<
" unknown granularPressureModelType type "
48 << granularPressureModelType
49 <<
", constructor not in hash table" << endl << endl
50 <<
" Valid granularPressureModelType types are :" <<
endl;
51 Info<< dictionaryConstructorTablePtr_->sortedToc()
55 return autoPtr<granularPressureModel>(cstrIter()(dict));