26 #include "granularPressureModel.H"
33 const dictionary&
dict
36 word granularPressureModelType(
dict.lookup(
"granularPressureModel"));
38 Info<<
"Selecting granularPressureModel "
39 << granularPressureModelType <<
endl;
41 dictionaryConstructorTable::iterator cstrIter =
42 dictionaryConstructorTablePtr_->find(granularPressureModelType);
44 if (cstrIter == dictionaryConstructorTablePtr_->end())
47 <<
"granularPressureModel::New(const dictionary&) : " <<
endl
48 <<
" unknown granularPressureModelType type "
49 << granularPressureModelType
50 <<
", constructor not in hash table" <<
endl <<
endl
51 <<
" Valid granularPressureModelType types are :" <<
endl;
52 Info<< dictionaryConstructorTablePtr_->sortedToc()
56 return autoPtr<granularPressureModel>(cstrIter()(
dict));