37 const dictionary&
dict,
41 const word modelType(
dict.getWord(
"ROMmodel"));
43 auto* ctorPtr = dictionaryConstructorTable(modelType);
52 *dictionaryConstructorTablePtr_
errorManipArg< error, int > exit(error &err, const int errNo=1)
static autoPtr< ROMmodel > New(Time &runTime, fvMesh &mesh, const dictionary &dict, const instantList ×)
Return a reference to the selected ROMmodel.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
List< instant > instantList
List of instants.
#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 ...