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;
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Type for exponents of species in reaction. Can take either integer or scalar value,...
friend scalar pow(const scalar x, const specieExponent &e)
Compute the power of a number to a specie exponent.
specieExponent()
Construct null.
friend Ostream & operator<<(Ostream &os, const specieExponent &e)
Write to output stream.
specieExponent & operator=(const label integerExponent)
Assign to integer.
specieExponent operator-() const
Negate a specie exponent.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
Ostream & operator<<(Ostream &os, const fvConstraints &constraints)
tmp< fvMatrix< Type > > operator+(const fvMatrix< Type > &, const fvMatrix< Type > &)
static const label labelMax
tmp< fvMatrix< Type > > operator-(const fvMatrix< Type > &)