36 #ifndef specieExponent_H 37 #define specieExponent_H 52 scalar
pow(scalar
x,
const specieExponent&
e);
53 specieExponent
operator+(
const specieExponent& a,
const specieExponent&
b);
54 specieExponent
operator-(
const specieExponent& a,
const specieExponent&
b);
55 Ostream&
operator<<(Ostream&,
const specieExponent&);
71 label integerExponent_;
74 scalar scalarExponent_;
80 inline bool hasIntegerExponent()
const;
100 inline operator scalar()
const;
specieExponent & operator=(const label integerExponent)
Assign to integer.
specieExponent operator-() const
Negate a specie exponent.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m K].
friend scalar pow(const scalar x, const specieExponent &e)
Compute the power of a number to a specie exponent.
specieExponent()
Construct null.
tmp< fvMatrix< Type > > operator-(const fvMatrix< Type > &)
static const label labelMax
tmp< fvMatrix< Type > > operator+(const fvMatrix< Type > &, const fvMatrix< Type > &)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
friend Ostream & operator<<(Ostream &os, const specieExponent &e)
Write to output stream.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
Ostream & operator<<(Ostream &, const ensightPart &)
const doubleScalar e
Elementary charge.