32 namespace tabulatedWallFunctions
39 const dictionary& dict,
43 word twfTypeName = dict.lookup(
"tabulatedWallFunction");
45 Info<<
"Selecting tabulatedWallFunction " << twfTypeName <<
endl;
47 dictionaryConstructorTable::iterator cstrIter =
48 dictionaryConstructorTablePtr_->find(twfTypeName);
50 if (cstrIter == dictionaryConstructorTablePtr_->end())
53 <<
"Unknown tabulatedWallFunction type " << twfTypeName
54 <<
nl <<
nl <<
"Valid tabulatedWallFunction types are:" <<
nl 55 << dictionaryConstructorTablePtr_->toc()
59 return autoPtr<tabulatedWallFunction>(cstrIter()(
dict,
mesh));
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Ostream & endl(Ostream &os)
Add newline and flush stream.
static autoPtr< tabulatedWallFunction > New(const dictionary &dict, const polyMesh &mesh)
Selector.