41 const word liftModelType(modelDict.
lookup(
"type"));
43 Info<<
"Selecting liftModel for "
44 << interface.
name() <<
": " << liftModelType <<
endl;
46 dictionaryConstructorTable::iterator cstrIter =
47 dictionaryConstructorTablePtr_->find(liftModelType);
49 if (cstrIter == dictionaryConstructorTablePtr_->end())
52 <<
"Unknown liftModel type "
54 <<
"Valid liftModel types are : " <<
endl
55 << dictionaryConstructorTablePtr_->sortedToc()
59 return cstrIter()(modelDict, interface);
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
static autoPtr< liftModel > New(const dictionary &dict, const phaseInterface &interface, const bool outer=true)
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 FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
void outer(LagrangianPatchField< typename outerProduct< Type1, Type2 >::type > &f, const LagrangianPatchField< Type1 > &f1, const LagrangianPatchField< Type2 > &f2)
Ostream & endl(Ostream &os)
Add newline and flush stream.