51 ?
"DimensionedConstants"
85 const char*
const group,
118 return dimensionedValue;
124 const char*
const group,
135 const char*
const group,
136 const char* entryName,
137 const char* codeName,
150 dict.subDict(
group).add(entryName, dimensionedValue);
152 return dimensionedValue;
158 const char*
const group,
170 const char*
const group,
171 const char* entryName,
172 const char* codeName,
191 dict.subDict(
group).add(entryName, dimensionedValue);
193 return dimensionedValue;
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Dimension set for the base types.
Unit conversion structure. Contains the associated dimensions and the multiplier with which to conver...
const dimensionSet & dimensions() const
Access the dimensions.
T toStandard(const T &) const
Convert a value to standard units.
Template functions to aid in the implementation of demand driven data.
Dictionary reading and supplying the dimensioned constants used within OpenFOAM, particularly for the...
const char *const group
Group name for atomic constants.
dictionary & switchSet(const char *subDictName, dictionary *&subDictPtr)
Internal function to lookup a sub-dictionary from configDict.
dictionary & configDict()
The central control dictionary.
int debugSwitch(const char *name, const int defaultValue=0)
Lookup debug switch or add default value.
Ostream & endl(Ostream &os)
Add newline and flush stream.
dictionary & dimensionedConstantsDict()
void deleteDemandDrivenData(DataType *&dataPtr)
deleteDimensionedConstantsPtr deleteDimensionedConstantsPtr_
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
dimensionedScalar dimensionedConstant(const char *const group, const char *name, const dimensionSet &dimensions)
Construct and return a constant by looking up from the DimensionedConstants.
dictionary * dimensionedConstantsDictPtr_(nullptr)
int dimensionedConstantsDebug(debug::debugSwitch("constants", 0))
~deleteDimensionedConstantsPtr()