40 Info<<
"Selecting absorptionEmissionModel " << modelType <<
endl;
42 dictionaryConstructorTable::iterator cstrIter =
43 dictionaryConstructorTablePtr_->find(modelType);
45 if (cstrIter == dictionaryConstructorTablePtr_->end())
48 <<
"Unknown absorptionEmissionModel type "
49 << modelType <<
nl <<
nl
50 <<
"Valid absorptionEmissionModel types are :" <<
nl
51 << dictionaryConstructorTablePtr_->sortedToc() <<
exit(
FatalError);
A list of keyword definitions, which are a keyword followed by any number of values (e....
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
Mesh data needed to do the Finite Volume discretisation.
static autoPtr< absorptionEmissionModel > New(const dictionary &dict, const fvMesh &mesh)
Selector.
const dictionary & dict() const
Reference to the dictionary.
const fvMesh & mesh() const
Reference to the mesh.
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
Ostream & endl(Ostream &os)
Add newline and flush stream.