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