36 const word wallDampingModelType(
dict.lookup(
"type"));
38 Info<<
"Selecting wallDampingModel for "
39 << interface.
name() <<
": " << 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()
54 return cstrIter()(
dict, 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.
static autoPtr< wallDampingModel > New(const dictionary &dict, const phaseInterface &interface)
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.