62 const word modelType(
dict.get<
word>(
"frictionalStressModel"));
64 Info<<
"Selecting frictionalStressModel " << modelType <<
endl;
66 auto* ctorPtr = dictionaryConstructorTable(modelType);
73 "frictionalStressModel",
75 *dictionaryConstructorTablePtr_
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
frictionalStressModel(const dictionary &dict)
Construct from components.
const dictionary & dict_
Reference to higher-level dictionary for re-read.
static autoPtr< frictionalStressModel > New(const dictionary &dict)
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
messageStream Info
Information stream (stdout output on master, null elsewhere).
Ostream & endl(Ostream &os)
Add newline and flush stream.
errorManip< error > abort(error &err)
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...
#define defineRunTimeSelectionTable(baseType, argNames)
Define run-time selection table.