48 "DimensionedConstants",
80 const char*
const group,
96 return dimensionedValue;
102 const char*
const group,
113 const char*
const group,
114 const char* entryName,
115 const char* codeName,
128 dict.subDict(
group).add(entryName, dimensionedValue);
130 return dimensionedValue;
136 const char*
const group,
148 const char*
const group,
149 const char* entryName,
150 const char* codeName,
161 units.toStandard(value)
169 dict.subDict(
group).add(entryName, dimensionedValue);
171 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...
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 controlDict.
int debugSwitch(const char *name, const int defaultValue=0)
Lookup debug switch or add default value.
const HashTable< dimensionSet > & dimensions()
Get the table of dimension sets.
Ostream & endl(Ostream &os)
Add newline and flush stream.
dictionary & dimensionedConstantsDict()
void deleteDemandDrivenData(DataType *&dataPtr)
deleteDimensionedConstantsPtr deleteDimensionedConstantsPtr_
const HashTable< unitConversion > & units()
Get the table of unit conversions.
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.
int dimensionedConstantsDebug(debug::debugSwitch("dimensionedConstants", 0))
dictionary * dimensionedConstantsDictPtr_(nullptr)
~deleteDimensionedConstantsPtr()