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