Public Member Functions | |
specieExponent () | |
Construct null. More... | |
specieExponent (const label integerExponent) | |
Construct from integer. More... | |
specieExponent (const scalar scalarExponent) | |
Construct from scalar. More... | |
operator scalar () const | |
Cast to scalar. More... | |
specieExponent & | operator= (const label integerExponent) |
Assign to integer. More... | |
specieExponent & | operator= (const scalar scalarExponent) |
Assign to scalar. More... | |
specieExponent | operator- () const |
Negate a specie exponent. More... | |
Friends | |
scalar | pow (const scalar x, const specieExponent &e) |
Compute the power of a number to a specie exponent. More... | |
specieExponent | operator+ (const specieExponent &a, const specieExponent &b) |
Sum two specie exponents. More... | |
specieExponent | operator- (const specieExponent &a, const specieExponent &b) |
Subtract two specie exponents. More... | |
Ostream & | operator<< (Ostream &os, const specieExponent &e) |
Write to output stream. More... | |
Definition at line 61 of file specieExponent.H.
|
inline |
Construct null.
Definition at line 38 of file specieExponentI.H.
Referenced by specieExponent::operator=().
|
inline |
Construct from integer.
Definition at line 45 of file specieExponentI.H.
|
inline |
Construct from scalar.
Definition at line 52 of file specieExponentI.H.
|
inline |
Cast to scalar.
Definition at line 67 of file specieExponentI.H.
|
inline |
Assign to integer.
Definition at line 74 of file specieExponentI.H.
References specieExponent::specieExponent().
|
inline |
Assign to scalar.
Definition at line 81 of file specieExponentI.H.
References specieExponent::specieExponent().
|
inline |
Negate a specie exponent.
Definition at line 87 of file specieExponentI.H.
|
friend |
Compute the power of a number to a specie exponent.
Referenced by Foam::pow().
|
friend |
Sum two specie exponents.
|
friend |
Subtract two specie exponents.
|
friend |
Write to output stream.