38 const word modelType(
dict.getWord(
"model"));
40 Info<<
" Selecting film-separation model: "
41 << modelType <<
nl <<
endl;
43 auto* ctorPtr = dictionaryConstructorTable(modelType);
50 "filmSeparationModel",
52 *dictionaryConstructorTablePtr_
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,...
const regionModels::areaSurfaceFilmModels::liquidFilmBase & film() const
Return const access to the film properties.
static autoPtr< filmSeparationModel > New(const regionModels::areaSurfaceFilmModels::liquidFilmBase &film, const dictionary &dict)
Return a reference to the selected filmSeparation model.
A class for handling words, derived from Foam::string.
#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).