41 "DimensionedConstants",
58 if (!dict.
found(
"unitSet"))
60 std::cerr<<
"Cannot find unitSet in dictionary " << dict.
name()
66 if (!dict.
found(unitSetCoeffs))
68 std::cerr<<
"Cannot find " << unitSetCoeffs <<
" in dictionary " const char *const group
Group name for atomic constants.
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
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...
A list of keyword definitions, which are a keyword followed by any number of values (e...
Ostream & endl(Ostream &os)
Add newline and flush stream.
Generic dimensioned Type class.
dictionary & dimensionedConstants()
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
const fileName & name() const
Return the dictionary name.
A class for handling words, derived from string.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
dictionary * dimensionedConstantsPtr_(nullptr)
dimensionedScalar dimensionedConstant(const word &group, const word &varName)
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.