32 const word& modelTypeName,
37 const word blendingMethodType(
dict.lookup(
"type"));
39 Info<<
"Selecting " << modelTypeName <<
" blending method for "
40 << interface.
name() <<
": " << blendingMethodType <<
endl;
42 dictionaryConstructorTable::iterator cstrIter =
43 dictionaryConstructorTablePtr_->find(blendingMethodType);
45 if (cstrIter == dictionaryConstructorTablePtr_->end())
48 <<
"Unknown blendingMethod type "
49 << blendingMethodType <<
endl <<
endl
50 <<
"Valid blendingMethod types are : " <<
endl
51 << dictionaryConstructorTablePtr_->sortedToc()
55 return cstrIter()(
dict, interface);
static autoPtr< blendingMethod > New(const word &modelTypeName, const dictionary &dict, const phaseInterface &interface)
A list of keyword definitions, which are a keyword followed by any number of values (e....
Class to represent an interface between phases. Derivations can further specify the configuration of ...
virtual word name() const
Name.
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
Ostream & endl(Ostream &os)
Add newline and flush stream.