26 #include "virtualMassModel.H"
27 #include "phasePair.H"
33 const dictionary&
dict,
37 word virtualMassModelType(
dict.lookup(
"type"));
39 Info<<
"Selecting virtualMassModel for "
40 << pair <<
": " << virtualMassModelType <<
endl;
42 dictionaryConstructorTable::iterator cstrIter =
43 dictionaryConstructorTablePtr_->find(virtualMassModelType);
45 if (cstrIter == dictionaryConstructorTablePtr_->end())
48 <<
"Unknown virtualMassModelType type "
49 << virtualMassModelType <<
endl <<
endl
50 <<
"Valid virtualMassModel types are : " <<
endl
51 << dictionaryConstructorTablePtr_->sortedToc()
55 return cstrIter()(
dict, pair,
true);