56 pair_.dispersed().residualAlpha().value(),
71 const word modelType(
dict.get<word>(
"type"));
73 Info<<
"Selecting heatTransferModel for "
74 << pair <<
": " << modelType <<
endl;
76 auto* ctorPtr = dictionaryConstructorTable(modelType);
85 *dictionaryConstructorTablePtr_
89 return ctorPtr(
dict, pair);
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,...
Dimension set for the base types, which can be used to implement rigorous dimension checking for alge...
static const dimensionSet dimK
Coefficient dimensions.
heatTransferModel(const dictionary &dict, const phasePair &pair)
Construct froma dictionary and a phase pair.
static autoPtr< heatTransferModel > New(const dictionary &dict, const phasePair &pair)
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
const dimensionSet dimless
Dimensionless.
messageStream Info
Information stream (stdout output on master, null elsewhere).
Ostream & endl(Ostream &os)
Add newline and flush stream.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define defineRunTimeSelectionTable(baseType, argNames)
Define run-time selection table.