27 #include "phasePair.H"
34 const dictionary&
dict,
38 word surfaceTensionModelType(
dict.lookup(
"type"));
40 Info<<
"Selecting surfaceTensionModel for "
41 << pair <<
": " << surfaceTensionModelType <<
endl;
43 dictionaryConstructorTable::iterator cstrIter =
44 dictionaryConstructorTablePtr_->find(surfaceTensionModelType);
46 if (cstrIter == dictionaryConstructorTablePtr_->end())
49 <<
"Unknown surfaceTensionModelType type "
50 << surfaceTensionModelType <<
endl <<
endl
51 <<
"Valid surfaceTensionModel types are : " <<
endl
52 << dictionaryConstructorTablePtr_->sortedToc()
56 return cstrIter()(
dict, pair,
true);