37#ifndef Foam_dimensionSets_H
38#define Foam_dimensionSets_H
127 bool good()
const noexcept {
return valid_; }
130 bool valid()
const noexcept {
return valid_; }
A HashTable similar to std::unordered_map.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Dimension set for the base types, which can be used to implement rigorous dimension checking for alge...
const PtrList< dimensionedScalar > & units() const noexcept
Return the units.
void coefficients(scalarField &exponents) const
(if valid) obtain set of coefficients of unitNames
bool good() const noexcept
Is there a valid inverse of the selected unit.
bool valid() const noexcept
Is there a valid inverse of the selected unit.
dimensionSets(const HashTable< dimensionedScalar > &, const wordList &unitNames)
Construct from all units and set of units to use for inversion (writing).
const dimensionSet dimPressure
const dimensionSet dimViscosity
List< word > wordList
List of word.
const dimensionSet dimPower
const dimensionSet dimless
Dimensionless.
const dimensionSet dimCompressibility
List< label > labelList
A List of labels.
const dimensionSet dimEnergy
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
const dimensionSet dimCurrent(0, 0, 0, 0, 0, 1, 0)
const dimensionSet dimMoles(0, 0, 0, 0, 1, 0, 0)
const dimensionSet dimArea(sqr(dimLength))
const dimensionSet dimVelocity
const dimensionSet dimGasConstant
dictionary & dimensionSystems()
Top level dictionary.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
const dimensionSet dimSpecificHeatCapacity(dimGasConstant)
const dimensionSet dimTemperature(0, 0, 0, 1, 0, 0, 0)
const HashTable< dimensionedScalar > & unitSet()
Set of all dimensions.
const dimensionSet dimForce
SquareMatrix< scalar > scalarSquareMatrix
const dimensionSets & writeUnitSet()
Set of units.
const dimensionSet dimDynamicViscosity
const dimensionSet dimAcceleration
const dimensionSet dimVolume(pow3(dimLength))
const dimensionSet dimDensity
const dimensionSet dimMass(1, 0, 0, 0, 0, 0, 0)
const dimensionSet dimVol(dimVolume)
Older spelling for dimVolume.
const dimensionSet dimLuminousIntensity(0, 0, 0, 0, 0, 0, 1)