Go to the documentation of this file.
45 "DimensionedConstants",
62 if (!
dict.found(
"unitSet"))
65 <<
"Cannot find unitSet in dictionary " <<
dict.name()
69 const word unitSetCoeffs(
dict.get<
word>(
"unitSet") +
"Coeffs");
76 <<
"Cannot find " << unitSetCoeffs <<
" in dictionary "
A class for handling words, derived from Foam::string.
constexpr const char *const group
Group name for atomic constants.
Ostream & endl(Ostream &os)
Add newline and flush stream.
dictionary * dimensionedConstantsPtr_(nullptr)
const dictionary & subDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a sub-dictionary.
dictionary & dimensionedConstants()
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Generic dimensioned Type class.
dimensionedScalar dimensionedConstant(const word &group, const word &varName)
dictionary & switchSet(const char *subDictName, dictionary *&subDictPtr)
Internal function to lookup a sub-dictionary from controlDict.
Dictionary reading and supplying the dimensioned constants used within OpenFOAM, particularly for the...