41 ConstructorTable::iterator cstrIter = ConstructorTablePtr_->find(
name);
43 if (cstrIter == ConstructorTablePtr_->end())
46 <<
"Unknown solidProperties type "
48 <<
"Valid solidProperties types are:" <<
nl
49 << ConstructorTablePtr_->sortedToc()
75 return New(solidType);
87 dictionaryConstructorTable::iterator cstrIter =
88 dictionaryConstructorTablePtr_->find(solidType);
90 if (cstrIter == dictionaryConstructorTablePtr_->end())
93 <<
"Unknown solidProperties type "
94 << solidType <<
nl <<
nl
95 <<
"Valid solidProperties types are:" <<
nl
96 << dictionaryConstructorTablePtr_->sortedToc()
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
const word dictName() const
Return the local dictionary name (final part of scoped name)
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.
const dictionary & optionalSubDict(const word &) const
Find and return a sub-dictionary if found.
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
The thermophysical properties of a solid.
static autoPtr< solidProperties > New(const word &name)
Return a pointer to a new solidProperties created from name.
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
#define InfoInFunction
Report an information message using Foam::Info.
errorManipArg< error, int > exit(error &err, const int errNo=1)
Ostream & endl(Ostream &os)
Add newline and flush stream.
word name(const bool)
Return a word representation of a bool.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)