36 #ifndef specieCoeffs_H
37 #define specieCoeffs_H
49 Ostream&
operator<<(Ostream&,
const specieCoeffs&);
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Output to memory buffer stream.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A wordList with hashed indices for faster lookup by name.
Reaction base-class holding the specie names and coefficients.
Class to hold the specie index and its coefficients in the reaction rate expression.
friend Ostream & operator<<(Ostream &os, const specieCoeffs &sc)
Write to output stream.
specieExponent exponent
Exponent of the specie concentration.
static void setLRhs(Istream &, const speciesTable &, List< specieCoeffs > &lhs, List< specieCoeffs > &rhs)
Construct the left- and right-hand-side reaction coefficients.
bool operator==(const specieCoeffs &sc) const
Equality comparison.
bool operator!=(const specieCoeffs &sc) const
Inequality comparison.
scalar stoichCoeff
Stoichiometric coefficient.
specieCoeffs()
Construct null.
label index
Index of the specie.
static void reactionStr(OStringStream &reaction, const speciesTable &, const List< specieCoeffs > &scs)
Write the string representation of the specieCoeffs list.
Type for exponents of species in reaction. Can take either integer or scalar value,...
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Ostream & operator<<(Ostream &os, const fvConstraints &constraints)
static const label labelMax