Go to the documentation of this file.
41 auto cstrIter = ConstructorTablePtr_->cfind(
name);
43 if (!cstrIter.found())
64 const word solidType(
dict.dictName());
66 if (
dict.found(
"defaultCoeffs"))
70 if (
dict.get<
bool>(
"defaultCoeffs"))
72 return New(solidType);
77 dict.optionalSubDict(solidType +
"Coeffs")
81 auto cstrIter = dictionaryConstructorTablePtr_->cfind(solidType);
83 if (!cstrIter.found())
90 *dictionaryConstructorTablePtr_
A class for handling words, derived from Foam::string.
static autoPtr< solidProperties > New(const word &name)
Return a pointer to a new solidProperties created from name.
Ostream & endl(Ostream &os)
Add newline and flush stream.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
#define DebugInFunction
Report an information message using Foam::Info.
word name(const complex &c)
Return string representation of complex.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
#define FatalErrorInLookup(lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.