54 const word& modelName,
61 Info<<
"Selecting " << modelName <<
" blending method: "
64 auto* ctorPtr = dictionaryConstructorTable(modelType);
73 *dictionaryConstructorTablePtr_
77 return ctorPtr(
dict, phaseNames);
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
static autoPtr< blendingMethod > New(const word &modelName, const dictionary &dict, const wordList &phaseNames)
blendingMethod(const dictionary &dict)
Construct from a dictionary.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
List< word > wordList
List of word.
messageStream Info
Information stream (stdout output on master, null elsewhere).
Ostream & endl(Ostream &os)
Add newline and flush stream.
errorManip< error > abort(error &err)
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...
#define defineRunTimeSelectionTable(baseType, argNames)
Define run-time selection table.