36 const word wallDampingModelType(
dict.lookup(
"type"));
39 << wallDampingModelType <<
endl;
41 dictionaryConstructorTable::iterator cstrIter =
42 dictionaryConstructorTablePtr_->find(wallDampingModelType);
44 if (cstrIter == dictionaryConstructorTablePtr_->end())
47 <<
"Unknown wallDampingModel type "
48 << wallDampingModelType <<
endl <<
endl
49 <<
"Valid wallDampingModel types are : " <<
endl
50 << dictionaryConstructorTablePtr_->sortedToc()
56 return cstrIter()(
dict, interface);
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Class to represent an interface between phases. Derivations can further specify the configuration of ...
Enables the printing of a dictionary and subsequently looked-up defaulted entries.
Template function which returns the un-mangled name of a given type. Useful for types which do not ha...
static autoPtr< wallDampingModel > New(const dictionary &dict, const phaseInterface &interface)
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)
Ostream & endl(Ostream &os)
Add newline and flush stream.
Ostream & indentOrNl(Ostream &os)
Indent stream or add newline if indent level == 0.