52 name_(
"un-named-reaction-" +
Foam::
name(getNewReactionIndex())),
65 name_(r.
name() +
"Copy"),
78 name_(
dict.dictName()),
Input from memory buffer stream.
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 list of keyword definitions, which are a keyword followed by any number of values (e....
A wordList with hashed indices for faster lookup by name.
Reaction base-class holding the specie names and coefficients.
void write(Ostream &) const
Write.
static label nUnNamedReactions
Number of un-named reactions.
reaction(const speciesTable &species, const List< specieCoeffs > &lhs, const List< specieCoeffs > &rhs)
Construct from components.
static void setLRhs(Istream &, const speciesTable &, List< specieCoeffs > &lhs, List< specieCoeffs > &rhs)
Construct the left- and right-hand-side reaction coefficients.
static void reactionStr(OStringStream &reaction, const speciesTable &, const List< specieCoeffs > &scs)
Write the string representation of the specieCoeffs list.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
word name(const bool)
Return a word representation of a bool.
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)