35namespace kineticTheoryModels
48 const dictionary&
dict
60 const dictionary&
dict
63 const word modelType(
dict.
get<word>(
"frictionalStressModel"));
65 Info<<
"Selecting frictionalStressModel " << modelType <<
endl;
67 auto* ctorPtr = dictionaryConstructorTable(modelType);
74 "frictionalStressModel",
76 *dictionaryConstructorTablePtr_
80 return autoPtr<frictionalStressModel>(ctorPtr(
dict));
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
T get(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
#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.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define defineRunTimeSelectionTable(baseType, argNames)
Define run-time selection table.