Cantera  2.5.1
Public Member Functions | Public Attributes | List of all members
ElementaryReaction Class Reference

A reaction which follows mass-action kinetics with a modified Arrhenius reaction rate. More...

#include <Reaction.h>

Inheritance diagram for ElementaryReaction:
[legend]
Collaboration diagram for ElementaryReaction:
[legend]

Public Member Functions

 ElementaryReaction (const Composition &reactants, const Composition products, const Arrhenius &rate)
 
virtual void validate ()
 Ensure that the rate constant and other parameters for this reaction are valid. More...
 
- Public Member Functions inherited from Reaction
 Reaction (int type)
 
 Reaction (int type, const Composition &reactants, const Composition &products)
 
virtual std::string reactantString () const
 The reactant side of the chemical equation for this reaction. More...
 
virtual std::string productString () const
 The product side of the chemical equation for this reaction. More...
 
std::string equation () const
 The chemical equation for this reaction. More...
 

Public Attributes

Arrhenius rate
 
bool allow_negative_pre_exponential_factor
 
- Public Attributes inherited from Reaction
int reaction_type
 Type of the reaction. More...
 
Composition reactants
 Reactant species and stoichiometric coefficients. More...
 
Composition products
 Product species and stoichiometric coefficients. More...
 
Composition orders
 Forward reaction order with respect to specific species. More...
 
std::string id
 An identification string for the reaction, used in some filtering operations. More...
 
bool reversible
 True if the current reaction is reversible. False otherwise. More...
 
bool duplicate
 True if the current reaction is marked as duplicate. More...
 
bool allow_nonreactant_orders
 True if reaction orders can be specified for non-reactant species. More...
 
bool allow_negative_orders
 True if negative reaction orders are allowed. Default is false. More...
 
AnyMap input
 Input data used for specific models. More...
 

Detailed Description

A reaction which follows mass-action kinetics with a modified Arrhenius reaction rate.

Definition at line 83 of file Reaction.h.

Member Function Documentation

◆ validate()

void validate ( )
virtual

Ensure that the rate constant and other parameters for this reaction are valid.

Reimplemented from Reaction.

Definition at line 120 of file Reaction.cpp.

References Reaction::equation(), Arrhenius::preExponentialFactor(), and Reaction::validate().


The documentation for this class was generated from the following files: