Construction of unit sets. More...
Public Member Functions | |
dimensionSets (const HashTable< dimensionedScalar > &, const wordList &unitNames) | |
Construct from all units and set of units to use for inversion (writing) More... | |
const PtrList< dimensionedScalar > & | units () const noexcept |
Return the units. More... | |
bool | valid () const noexcept |
Is there a valid inverse of the selected unit. More... | |
void | coefficients (scalarField &exponents) const |
(if valid) obtain set of coefficients of unitNames More... | |
Construction of unit sets.
Definition at line 89 of file dimensionSets.H.
dimensionSets | ( | const HashTable< dimensionedScalar > & | units, |
const wordList & | unitNames | ||
) |
Construct from all units and set of units to use for inversion (writing)
Definition at line 220 of file dimensionSets.C.
References dimensioned< Type >::dimensions(), forAll, Foam::LUDecompose(), and UList< T >::size().
|
inlinenoexcept |
Return the units.
Definition at line 133 of file dimensionSets.H.
Referenced by dimensionSet::write().
|
inlinenoexcept |
Is there a valid inverse of the selected unit.
Definition at line 141 of file dimensionSets.H.
Referenced by dimensionSet::write().
void coefficients | ( | scalarField & | exponents | ) | const |
(if valid) obtain set of coefficients of unitNames
Definition at line 263 of file dimensionSets.C.
References Foam::LUBacksubstitute().
Referenced by dimensionSet::write().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.