52 name_(
"un-named-reaction-" +
Foam::name(getNewReactionID())),
65 name_(r.
name() +
"Copy"),
static label nUnNamedReactions
Number of un-named reactions.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A list of keyword definitions, which are a keyword followed by any number of values (e...
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Reaction base-class holding the specie names and coefficients.
const word dictName() const
Return the local dictionary name (final part of scoped name)
static void reactionStr(OStringStream &reaction, const speciesTable &, const List< specieCoeffs > &scs)
Write the string representation of the specieCoeffs list.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void write(Ostream &) const
Write.
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
word name(const complex &)
Return a string representation of a complex.
static void setLRhs(Istream &, const speciesTable &, List< specieCoeffs > &lhs, List< specieCoeffs > &rhs)
Construct the left- and right-hand-side reaction coefficients.
A wordList with hashed indices for faster lookup by name.
Input from memory buffer stream.
reaction(const speciesTable &species, const List< specieCoeffs > &lhs, const List< specieCoeffs > &rhs)
Construct from components.
const word & name() const
Return the name of the reaction.
Output to memory buffer stream.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.