Go to the documentation of this file.
32 namespace regionModels
34 namespace surfaceFilmModels
45 word modelType(
dict.lookup(
"radiationModel"));
47 Info<<
" Selecting radiationModel " << modelType <<
endl;
49 dictionaryConstructorTable::iterator cstrIter =
50 dictionaryConstructorTablePtr_->find(modelType);
52 if (cstrIter == dictionaryConstructorTablePtr_->end())
55 <<
"Unknown radiationModel type " << modelType <<
nl <<
nl
56 <<
"Valid filmRadiationModel types are:" <<
nl
57 << dictionaryConstructorTablePtr_->toc()
A class for handling words, derived from string.
Ostream & endl(Ostream &os)
Add newline and flush stream.
A list of keyword definitions, which are a keyword followed by any number of values (e....
static autoPtr< filmRadiationModel > New(surfaceFilmModel &owner, const dictionary &dict)
Return a reference to the selected phase change model.
errorManipArg< error, int > exit(error &err, const int errNo=1)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Base class for surface film models.