42 const word turbulentDispersionModelType(modelDict.
lookup(
"type"));
44 Info<<
"Selecting turbulentDispersionModel for "
45 << interface.
name() <<
": " << turbulentDispersionModelType <<
endl;
47 dictionaryConstructorTable::iterator cstrIter =
48 dictionaryConstructorTablePtr_->find(turbulentDispersionModelType);
50 if (cstrIter == dictionaryConstructorTablePtr_->end())
53 <<
"Unknown turbulentDispersionModel type "
54 << turbulentDispersionModelType <<
endl <<
endl
55 <<
"Valid turbulentDispersionModel types are : " <<
endl
56 << dictionaryConstructorTablePtr_->sortedToc()
60 return cstrIter()(modelDict, interface);
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
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.
Class to represent an interface between phases. Derivations can further specify the configuration of ...
virtual word name() const
Name.
static autoPtr< turbulentDispersionModel > New(const dictionary &dict, const phaseInterface &interface, const bool outer=true)
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.