40#ifndef Foam_solidReaction_H
41#define Foam_solidReaction_H
54template<
class ReactionThermo>
61template<
class ReactionThermo>
174 friend Ostream& operator<< <ReactionThermo>
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Output to string buffer, using a OSstream. Always UNCOMPRESSED.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Reaction(const speciesTable &species, const List< specieCoeffs > &lhs, const List< specieCoeffs > &rhs, const ReactionTable< ReactionThermo > &thermoDatabase, bool initReactionThermo=true)
Construct from components.
const speciesTable & species() const noexcept
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Read solid reactions of the type S1 = S2 + G1.
solidReaction(const Reaction< ReactionThermo > &reaction, const speciesTable &pyrolisisGases, const List< specieCoeffs > &glhs, const List< specieCoeffs > &grhs)
Construct from components.
virtual ~solidReaction()=default
Destructor.
virtual const List< specieCoeffs > & glhs() const
solidReaction(const speciesTable &species, const ReactionTable< ReactionThermo > &thermoDatabase, const dictionary &dict)
Construct from dictionary.
TypeName("SolidReaction")
Runtime type information.
virtual void write(Ostream &os) const
Write.
virtual autoPtr< Reaction< ReactionThermo > > clone(const speciesTable &species) const
Construct and return a clone with new speciesTable.
virtual autoPtr< Reaction< ReactionThermo > > clone() const
Construct and return a clone.
solidReaction(const solidReaction< ReactionThermo > &, const speciesTable &pyrolisisGases)
Construct as copy given new speciesTable.
virtual const List< specieCoeffs > & grhs() const
virtual const speciesTable & gasSpecies() const
Access to gas specie list.
OBJstream os(runTime.globalPath()/outputName)
CombustionModel< rhoReactionThermo > & reaction
hashedWordList speciesTable
A table of species as a hashedWordList.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces).
HashPtrTable< ThermoType > ReactionTable
Hold specie index and its coefficients in the reaction rate expression.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.