Dimension set for the base types. This type may be used to implement rigorous dimension checking for algebraic manipulation.
More...
#include <OpenFOAM/dimensionSet.H>
Detailed Description
Dimension set for the base types. This type may be used to implement rigorous dimension checking for algebraic manipulation.
- Source files
-
Definition at line 109 of file dimensionSet.H.
List of all members.
Public Member Functions |
| ClassName ("dimensionSet") |
| dimensionSet (const scalar mass, const scalar length, const scalar time, const scalar temperature, const scalar moles, const scalar current, const scalar luminousIntensity) |
| Construct given individual dimension exponents for all.
|
| dimensionSet (const scalar mass, const scalar length, const scalar time, const scalar temperature, const scalar moles) |
| Construct given individual dimension exponents for first.
|
| dimensionSet (Istream &) |
| Construct from Istream.
|
bool | dimensionless () const |
void | reset (const dimensionSet &) |
scalar | operator[] (const dimensionType) const |
scalar & | operator[] (const dimensionType) |
bool | operator== (const dimensionSet &) const |
bool | operator!= (const dimensionSet &) const |
bool | operator= (const dimensionSet &) const |
bool | operator+= (const dimensionSet &) const |
bool | operator-= (const dimensionSet &) const |
bool | operator*= (const dimensionSet &) |
bool | operator/= (const dimensionSet &) |
Static Public Attributes |
static const scalar | smallExponent = SMALL |
Friends |
dimensionSet | max (const dimensionSet &, const dimensionSet &) |
dimensionSet | min (const dimensionSet &, const dimensionSet &) |
dimensionSet | cmptMultiply (const dimensionSet &, const dimensionSet &) |
dimensionSet | cmptDivide (const dimensionSet &, const dimensionSet &) |
dimensionSet | pow (const dimensionSet &, const scalar) |
dimensionSet | pow (const dimensionSet &, const dimensionedScalar &) |
dimensionSet | pow (const dimensionedScalar &, const dimensionSet &) |
dimensionSet | sqr (const dimensionSet &) |
dimensionSet | pow3 (const dimensionSet &) |
dimensionSet | pow4 (const dimensionSet &) |
dimensionSet | pow5 (const dimensionSet &) |
dimensionSet | pow6 (const dimensionSet &) |
dimensionSet | sqrt (const dimensionSet &) |
dimensionSet | magSqr (const dimensionSet &) |
dimensionSet | mag (const dimensionSet &) |
dimensionSet | sign (const dimensionSet &) |
dimensionSet | pos (const dimensionSet &) |
dimensionSet | neg (const dimensionSet &) |
dimensionSet | inv (const dimensionSet &) |
dimensionSet | trans (const dimensionSet &) |
| Function to check the argument is dimensionless.
|
dimensionSet | transform (const dimensionSet &) |
| Return the argument; transformations do not change the dimensions.
|
dimensionSet | operator- (const dimensionSet &) |
dimensionSet | operator+ (const dimensionSet &, const dimensionSet &) |
dimensionSet | operator- (const dimensionSet &, const dimensionSet &) |
dimensionSet | operator* (const dimensionSet &, const dimensionSet &) |
dimensionSet | operator/ (const dimensionSet &, const dimensionSet &) |
dimensionSet | operator& (const dimensionSet &, const dimensionSet &) |
dimensionSet | operator^ (const dimensionSet &, const dimensionSet &) |
dimensionSet | operator&& (const dimensionSet &, const dimensionSet &) |
Istream & | operator>> (Istream &, dimensionSet &) |
Ostream & | operator<< (Ostream &, const dimensionSet &) |
Member Enumeration Documentation
Define an enumeration for the names of the dimension exponents.
- Enumerator:
MASS |
|
LENGTH |
|
TIME |
|
TEMPERATURE |
|
MOLES |
|
CURRENT |
|
LUMINOUS_INTENSITY |
|
Definition at line 122 of file dimensionSet.H.
Constructor & Destructor Documentation
dimensionSet |
( |
const scalar |
mass, |
|
|
const scalar |
length, |
|
|
const scalar |
time, |
|
|
const scalar |
temperature, |
|
|
const scalar |
moles, |
|
|
const scalar |
current, |
|
|
const scalar |
luminousIntensity |
|
) |
| |
Construct given individual dimension exponents for all.
seven dimensions
Definition at line 38 of file dimensionSet.C.
dimensionSet |
( |
const scalar |
mass, |
|
|
const scalar |
length, |
|
|
const scalar |
time, |
|
|
const scalar |
temperature, |
|
|
const scalar |
moles |
|
) |
| |
Construct given individual dimension exponents for first.
five dimensions
Definition at line 59 of file dimensionSet.C.
Member Function Documentation
ClassName |
( |
"dimensionSet" |
| ) |
|
bool dimensionless |
( |
| ) |
const |
Friends And Related Function Documentation
Function to check the argument is dimensionless.
for transcendental functions
Member Data Documentation
const Foam::scalar smallExponent = SMALL |
|
static |
The documentation for this class was generated from the following files: