30 #include "phasePair.H" 45 const dictionary&
dict,
58 const dictionary&
dict,
62 const word modelType(
dict.
get<word>(
"type"));
64 Info<<
"Selecting swarmCorrection for " 65 << pair <<
": " << modelType <<
endl;
67 auto* ctorPtr = dictionaryConstructorTable(modelType);
76 *dictionaryConstructorTablePtr_
80 return ctorPtr(
dict, pair);
errorManipArg< error, int > exit(error &err, const int errNo=1)
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.
static autoPtr< swarmCorrection > New(const dictionary &dict, const phasePair &pair)
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.
swarmCorrection(const dictionary &dict, const phasePair &pair)
Construct from a dictionary and a phase pair.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...