26 #include "noRadiation.H" 32 namespace regionModels
34 namespace surfaceFilmModels
49 {radiationModel::typeName,
"radiationModel"},
60 dict.
found(radiationModel::typeName)
61 ? dict.
subDict(radiationModel::typeName)
67 dict.
found(radiationModel::typeName)
68 ? radiationDict.lookup(
"model")
69 : radiationDict.lookup(
"radiationModel")
72 Info<<
" Selecting radiationModel " << modelType <<
endl;
74 dictionaryConstructorTable::iterator cstrIter =
75 dictionaryConstructorTablePtr_->find(modelType);
77 if (cstrIter == dictionaryConstructorTablePtr_->end())
80 <<
"Unknown radiationModel type " << modelType <<
nl <<
nl 81 <<
"Valid radiationModel types are:" <<
nl 82 << dictionaryConstructorTablePtr_->toc()
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
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.
const entry * lookupEntryPtrBackwardsCompatible(const wordList &, bool recursive, bool patternMatch) const
Find and return an entry data stream if present, trying a list.
static autoPtr< radiationModel > New(surfaceFilmRegionModel &film, const dictionary &dict)
Return a reference to the selected phase change model.
Ostream & endl(Ostream &os)
Add newline and flush stream.
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
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...
Dummy radiation model for 'none' option.