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

16 lines
484 B
Matlab

function kf = fwdRateConstants(a)
% FWDRATECONSTANTS Get the forward reaction rate constants.
% kf = fwdRateConstants(a)
%
% 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);