49 coeffDict_(optionalSubDict(
type +
"Coeffs"))
60 const word modelType(
dict.get<word>(
"faceAreaWeightModel"));
62 Info<<
nl <<
"Selecting faceAreaWeightModel " << modelType <<
endl;
64 auto* ctorPtr = dictionaryConstructorTable(modelType);
71 "faceAreaWeightModel",
73 *dictionaryConstructorTablePtr_
77 return autoPtr<faceAreaWeightModel>(ctorPtr(
dict));
Macros for easy insertion into run-time selection tables.
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,...
Abstract base class for providing faceAreaWeight values to the cell motion controller based on an arg...
static autoPtr< faceAreaWeightModel > New(const dictionary &faceAreaWeightDict)
Return a reference to the selected faceAreaWeightModel.
faceAreaWeightModel(const faceAreaWeightModel &)=delete
No copy construct.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#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.
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)
constexpr char nl
The newline '\n' character (0x0a).
#define defineRunTimeSelectionTable(baseType, argNames)
Define run-time selection table.