36 const word frictionalStressModelType(
dict.lookup(
"frictionalStressModel"));
38 Info<<
"Selecting frictionalStressModel "
39 << frictionalStressModelType <<
endl;
41 dictionaryConstructorTable::iterator cstrIter =
42 dictionaryConstructorTablePtr_->find(frictionalStressModelType);
44 if (cstrIter == dictionaryConstructorTablePtr_->end())
47 <<
"Unknown frictionalStressModel type "
48 << frictionalStressModelType <<
endl <<
endl
49 <<
"Valid frictionalStressModel types are :" <<
endl
50 << dictionaryConstructorTablePtr_->sortedToc()
55 dict.optionalSubDict(frictionalStressModelType +
"Coeffs");
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
static autoPtr< frictionalStressModel > New(const dictionary &dict)
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.