26 #include "diameterModel.H"
32 const dictionary&
dict,
33 const phaseModel& phase
36 word diameterModelType
38 dict.lookup(
"diameterModel")
41 Info <<
"Selecting diameterModel for phase "
44 << diameterModelType <<
endl;
46 dictionaryConstructorTable::iterator cstrIter =
47 dictionaryConstructorTablePtr_->find(diameterModelType);
49 if (cstrIter == dictionaryConstructorTablePtr_->end())
52 <<
"Unknown diameterModelType type "
54 <<
"Valid diameterModel types are : " <<
endl
55 << dictionaryConstructorTablePtr_->sortedToc()
59 return cstrIter()(
dict.subDict(diameterModelType +
"Coeffs"),
phase);