30 setRateParameters(rate, units, rate_units);
35 other.temperatureExponent(),
36 other.activationEnergy())
40void Arrhenius2::setRateParameters(
const AnyValue& rate,
52 if (rate_units.
factor() != 0.0) {
53 node[
"A"].setQuantity(
m_A, rate_units);
59 node[
"__unconvertible__"] =
true;
62 node[
"Ea"].setQuantity(
m_Ea_R,
"K",
true);
66SurfaceArrhenius::SurfaceArrhenius()
76SurfaceArrhenius::SurfaceArrhenius(
double A,
double b,
double Ta)
87 doublereal m, doublereal e)
A map of string keys to values whose type can vary at runtime.
void setFlowStyle(bool flow=true)
Use "flow" style when outputting this AnyMap to YAML.
A wrapper for a variable whose type is determined at runtime.
void getParameters(AnyMap &node, const Units &rate_units) const
Return parameters - two-parameter version.
Arrhenius2()
Default constructor.
double m_A
Pre-exponential factor.
void setRateParameters(const AnyValue &rate, const UnitSystem &units, const UnitStack &rate_units)
Perform object setup based on AnyValue node information.
double m_b
Temperature exponent.
virtual double preExponentialFactor() const
Return the pre-exponential factor A (in m, kmol, s to powers depending on the reaction order)
double m_logA
Logarithm of pre-exponential factor.
double m_Ea_R
Activation energy (in temperature units)
Arrhenius reaction rate type depends only on temperature.
void addCoverageDependence(size_t k, doublereal a, doublereal m, doublereal e)
Add a coverage dependency for species k, with exponential dependence a, power-law exponent m,...
A representation of the units associated with a dimensional quantity.
double factor() const
Return the factor for converting from this unit to Cantera's base units.
Namespace for the Cantera kernel.
const double GasConstant
Universal Gas Constant [J/kmol/K].
Unit aggregation utility.