46 return debug::switchSet
48 "DimensionedConstants",
65 if (!
dict.found(
"unitSet"))
68 <<
"Cannot find unitSet in dictionary " <<
dict.name()
72 const word unitSetCoeffs(
dict.get<word>(
"unitSet") +
"Coeffs");
79 <<
"Cannot find " << unitSetCoeffs <<
" in dictionary "
80 <<
dict.name() << std::endl;
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
const dictionary & subDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a sub-dictionary.
A class for handling words, derived from Foam::string.
Dictionary reading and supplying the dimensioned constants used within OpenFOAM, particularly for the...
dictionary & switchSet(const char *subDictName, dictionary *&subDictPtr)
Internal function to lookup a sub-dictionary from controlDict.
dictionary * dimensionedConstantsPtr_(nullptr)
dimensionedScalar dimensionedConstant(const word &group, const word &varName)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
dictionary & dimensionedConstants()