40 "radiationProperties",
49 const word modelType(radiationProperties.
lookup(
"radiationModel"));
53 TConstructorTable::iterator cstrIter =
54 TConstructorTablePtr_->find(modelType);
56 if (cstrIter == TConstructorTablePtr_->end())
59 <<
"Unknown radiationModel type "
60 << modelType <<
nl <<
nl
61 <<
"Valid radiationModel types are:" <<
nl
62 << TConstructorTablePtr_->sortedToc()
80 dictionaryConstructorTable::iterator cstrIter =
81 dictionaryConstructorTablePtr_->find(modelType);
83 if (cstrIter == dictionaryConstructorTablePtr_->end())
86 <<
"Unknown radiationModel type "
87 << modelType <<
nl <<
nl
88 <<
"Valid radiationModel types are:" <<
nl
89 << dictionaryConstructorTablePtr_->sortedToc()
Generic GeometricField class.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
static autoPtr< radiationModel > New(const volScalarField &T)
Return a reference to the selected radiation model.
A class for handling words, derived from string.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
Ostream & endl(Ostream &os)
Add newline and flush stream.
Ostream & indentOrNl(Ostream &os)
Indent stream or add newline if indent level == 0.
void T(GeometricField< Type, GeoMesh, PrimitiveField1 > &gf, const GeometricField< Type, GeoMesh, PrimitiveField2 > &gf1)