cantera/interfaces/matlab/toolbox/@Reactor/setThermoMgr.m

8 lines
184 B
Matlab

function setThermoMgr(r, t)
% SETTHERMOMGR - set the thermo manager
%
if ~isa(t,'ThermoPhase')
error('wrong object type');
end
reactormethods(6, reactor_hndl(r), thermo_hndl(t));