36 const dictionary&
dict,
40 const word modelType(
dict.
get<word>(
"type"));
42 Info<<
"Selecting reflectionModel " << modelType <<
endl;
44 auto* ctorPtr = dictionaryConstructorTable(modelType);
53 *dictionaryConstructorTablePtr_
57 return autoPtr<reflectionModel>(ctorPtr(
dict,
mesh));
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 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)