cantera/interfaces/matlab/toolbox/@Kinetics/fwdRateConstants.m

20 lines
694 B
Matlab

function kf = fwdRateConstants(a)
% FWDRATECONSTANTS Get the forward reaction rate constants.
% kf = fwdRateConstants(a)
%
% The computed values include all temperature-dependent, pressure-dependent, and
% third body contributions. Units are a combination of kmol, m^3 and s, that
% depend on the rate expression for the reaction.
%
% see also: :mat:func:`revRateConstants`, :mat:func:`equil_Kc`
%
% :param a:
% Instance of class :mat:func:`Kinetics` (or another
% object deriving from Kinetics)
% for which forward rate constants are desired.
% :return:
% Returns a column vector of the forward rate constants of
% all of the reactions.
%
kf = kinetics_get(a.id, 15, 0);