46 const dictionary&
dict,
52 coeffDict_(optionalSubDict(
type +
"Coeffs"))
60 const dictionary&
dict,
64 const word modelType(
dict.
get<word>(
"relaxationModel"));
66 Info<<
nl <<
"Selecting relaxationModel " << modelType <<
endl;
68 auto* ctorPtr = dictionaryConstructorTable(modelType);
77 *dictionaryConstructorTablePtr_
81 return autoPtr<relaxationModel>(ctorPtr(
dict,
runTime));
errorManipArg< error, int > exit(error &err, const int errNo=1)
relaxationModel(const relaxationModel &)=delete
No copy construct.
constexpr char nl
The newline '\n' character (0x0a)
static autoPtr< relaxationModel > New(const dictionary &relaxationDict, const Time &runTime)
Return a reference to the selected relaxationModel.
Ostream & endl(Ostream &os)
Add newline and flush stream.
T get(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a T. FatalIOError if not found, or if the number of tokens is incorrect.
Macros for easy insertion into run-time selection tables.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
defineTypeNameAndDebug(combustionModel, 0)
messageStream Info
Information stream (stdout output on master, null elsewhere)
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...