34 const bool registerObject
37 const word heatTransferModelType(modelDict.
lookup(
"type"));
40 << heatTransferModelType;
44 dictionaryConstructorTable::iterator cstrIter =
45 dictionaryConstructorTablePtr_->find(heatTransferModelType);
47 if (cstrIter == dictionaryConstructorTablePtr_->end())
50 <<
"Unknown heatTransferModel type "
51 << heatTransferModelType <<
endl <<
endl
52 <<
"Valid heatTransferModel types are : " <<
endl
53 << dictionaryConstructorTablePtr_->sortedToc()
69 return New(modelSubDict<heatTransferModel>(subDicts), interface,
true);
bool & registerObject()
Register object created from this IOobject with registry if true.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
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< heatTransferModel > New(const dictionary &dict, const phaseInterface &interface, const bool registerObject=false)
Class to represent an interface between phases. Derivations can further specify the configuration of ...
virtual word name() const
Name.
Enables the printing of a dictionary and subsequently looked-up defaulted entries.
Template function which returns the un-mangled name of a given type. Useful for types which do not ha...
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.
tmp< DimensionedField< TypeR, GeoMesh, Field > > New(const tmp< DimensionedField< TypeR, GeoMesh, Field >> &tdf1, const word &name, const dimensionSet &dimensions)