8#ifndef CT_MULTIRATEBASE_H
9#define CT_MULTIRATEBASE_H
95 double deltaM,
bool overwrite=
true) = 0;
106 virtual void update(
double T,
double extra) = 0;
114 virtual void update(
double T, span<const double> extra) = 0;
Public interface for kinetics managers.
An abstract base class for evaluating all reactions of a particular type.
virtual bool update(const ThermoPhase &phase, const Kinetics &kin)=0
Update data common to reaction rates of a specific type.
virtual double evalSingle(ReactionRate &rate)=0
Get the rate for a single reaction.
virtual void getRateConstants(span< double > kf)=0
Evaluate all rate constants handled by the evaluator.
virtual void processRateConstants_ddM(span< double > rop, span< const double > kf, double deltaM, bool overwrite=true)=0
Evaluate all rate constant third-body derivatives handled by the evaluator; which are multiplied with...
virtual string type()=0
Identifier of reaction rate type.
virtual bool replace(size_t rxn_index, ReactionRate &rate)=0
Replace reaction rate object handled by the evaluator.
virtual void update(double T)=0
Update common reaction rate data based on temperature.
virtual void processRateConstants_ddT(span< double > rop, span< const double > kf, double deltaT)=0
Evaluate all rate constant temperature derivatives handled by the evaluator; which are multiplied wit...
virtual void add(size_t rxn_index, ReactionRate &rate)=0
Add reaction rate object to the evaluator.
virtual void modifyRateConstants(span< double > kf, span< double > kr)=0
For certain reaction types that do not follow mass action kinetics (for example, Butler-Volmer),...
virtual void update(double T, double extra)=0
Update common reaction rate data based on temperature and extra parameter.
virtual void resize(Kinetics &kin)=0
Update array sizes that depend on number of species, reactions or phases.
virtual void update(double T, span< const double > extra)=0
Update common reaction rate data based on temperature and extra parameter.
virtual void processRateConstants_ddP(span< double > rop, span< const double > kf, double deltaP)=0
Evaluate all rate constant pressure derivatives handled by the evaluator; which are multiplied with t...
Abstract base class for reaction rate definitions; this base class is used by user-facing APIs to acc...
Base class for a phase with thermodynamic properties.
This file contains definitions of constants, types and terms that are used in internal routines and a...
Namespace for the Cantera kernel.