18 lines
495 B
Matlab
18 lines
495 B
Matlab
function setKineticsMgr(r, k)
|
|
% SETKINETICSMGR Set the kinetics manager.
|
|
% setKineticsMgr(r, k)
|
|
% This method is used internally during Reactor initialization, but
|
|
% is usually not called by users.
|
|
%
|
|
% :param r:
|
|
% Instance of class :mat:func:`Reactor`
|
|
% :param k:
|
|
% Instance of class :mat:func:`Kinetics`, or another object
|
|
% containing an instance of that class.
|
|
%
|
|
|
|
if ~isa(k, 'Kinetics')
|
|
error('Wrong object type.');
|
|
end
|
|
|
|
reactormethods(7, reactor_hndl(r), kinetics_hndl(k));
|