46 Info<<
"liquid::New(Istream&) : "
47 <<
"constructing liquid"
55 if (coeffs ==
"defaultCoeffs")
57 ConstructorTable::iterator cstrIter =
58 ConstructorTablePtr_->find(liquidType);
60 if (cstrIter == ConstructorTablePtr_->end())
63 <<
"Unknown liquid type " << liquidType
65 <<
"Valid liquid types are:" <<
nl
66 << ConstructorTablePtr_->sortedToc()
72 else if (coeffs ==
"coeffs")
74 IstreamConstructorTable::iterator cstrIter =
75 IstreamConstructorTablePtr_->find(liquidType);
77 if (cstrIter == IstreamConstructorTablePtr_->end())
80 <<
"Unknown liquid type " << liquidType
82 <<
"Valid liquid types are:" <<
nl
83 << IstreamConstructorTablePtr_->sortedToc()
92 <<
"liquid type " << liquidType
93 <<
", option " << coeffs <<
" given"
94 <<
", should be coeffs or defaultCoeffs"