36 const dictionary&
dict,
40 const word functionName(
dict.get<word>(
"tabulatedWallFunction"));
42 Info<<
"Selecting tabulatedWallFunction " << functionName <<
endl;
44 auto* ctorPtr = dictionaryConstructorTable(functionName);
51 "tabulatedWallFunction",
53 *dictionaryConstructorTablePtr_
57 return autoPtr<tabulatedWallFunction>(ctorPtr(
dict,
mesh));
errorManipArg< error, int > exit(error &err, const int errNo=1)
Ostream & endl(Ostream &os)
Add newline and flush stream.
static autoPtr< tabulatedWallFunction > New(const dictionary &dict, const polyMesh &mesh)
Selector.
messageStream Info
Information stream (stdout output on master, null elsewhere)
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
#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 ...