30 template<
class CloudType>
38 word DispersionModelType(dict.
lookup(
"DispersionModel"));
40 Info<<
"Selecting DispersionModel " << DispersionModelType <<
endl;
42 typename dictionaryConstructorTable::iterator cstrIter =
43 dictionaryConstructorTablePtr_->find(DispersionModelType);
45 if (cstrIter == dictionaryConstructorTablePtr_->end())
49 "DispersionModel<CloudType>::New"
54 ) <<
"Unknown DispersionModelType type "
55 << DispersionModelType
56 <<
", constructor not in hash table" <<
nl <<
nl
57 <<
" Valid DispersionModel types are:" <<
nl
58 << dictionaryConstructorTablePtr_->sortedToc() <<
exit(
FatalError);