42#ifndef IrreversibleReaction_H
43#define IrreversibleReaction_H
58 template<
class>
class ReactionType,
64 public ReactionType<ReactionThermo>
96 const ReactionType<ReactionThermo>&
reaction,
97 const ReactionRate& reactionRate
Simple extension of Reaction to handle reversible reactions using equilibrium thermodynamics.
IrreversibleReaction(const speciesTable &species, const ReactionTable< ReactionThermo > &thermoDatabase, const dictionary &dict)
Construct from dictionary.
virtual void write(Ostream &) const
Write.
TypeName("irreversible")
Runtime type information.
virtual ~IrreversibleReaction()=default
Destructor.
IrreversibleReaction(const ReactionType< ReactionThermo > &reaction, const ReactionRate &reactionRate)
Construct from components.
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.
IrreversibleReaction(const IrreversibleReaction< ReactionType, ReactionThermo, ReactionRate > &, const speciesTable &species)
Construct as copy given new speciesTable.
virtual scalar kf(const scalar p, const scalar T, const scalarField &c) const
Forward rate constant.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
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,...
CombustionModel< rhoReactionThermo > & reaction
hashedWordList speciesTable
A table of species as a hashedWordList.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
HashPtrTable< ThermoType > ReactionTable
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.