40 word modelType(
"none");
46 "radiationProperties",
58 dict = std::move(propDict);
60 dict.readEntry(
"radiationModel", modelType);
64 Info<<
"Radiation model not active: radiationProperties not found"
68 Info<<
"Selecting radiationModel " << modelType <<
endl;
70 auto* ctorPtr = TConstructorTable(modelType);
79 *TConstructorTablePtr_
96 Info<<
"Selecting radiationModel " << modelType <<
endl;
98 auto* ctorPtr = dictionaryConstructorTable(modelType);
107 *dictionaryConstructorTablePtr_
111 return autoPtr<radiationModel>(ctorPtr(
dict,
T));
IOdictionary(const IOobject &io, const dictionary *fallback=nullptr)
Construct given an IOobject and optional fallback dictionary content.
@ NO_REGISTER
Do not request registration (bool: false).
@ MUST_READ
Reading required.
@ NO_WRITE
Ignore writing from objectRegistry::writeObject().
Defines the attributes of an object for which implicit objectRegistry management is supported,...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
dictionary()
Default construct, a top-level empty dictionary.
const volScalarField & T() const noexcept
Return access to the temperature field.
static autoPtr< radiationModel > New(const volScalarField &T)
Return a reference to the selected radiation model.
A class for handling words, derived from Foam::string.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
messageStream Info
Information stream (stdout output on master, null elsewhere).
Ostream & endl(Ostream &os)
Add newline and flush stream.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...
errorManipArg< error, int > exit(error &err, const int errNo=1)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)