cantera/interfaces/matlab/toolbox/IdealGasReactor.m
Ray Speth cc75faf402 [Matlab] Add support for additional reactor types
Matlab interface now supports ConstPressureReactor, IdealGasReactor, and
IdealGasConstPressureReactor.
2013-07-31 18:14:47 +00:00

16 lines
519 B
Matlab

function r = IdealGasReactor(contents)
% IDEALGASREACTOR - Create an IdealGasReactor object.
%
% An IdealGasReactor is an instance of class Reactor where the governing
% equations are specialized for the ideal gas equation of state (and do not
% work correctly with other thermodynamic models).
%
% r1 = IdealGasReactor % an empty reactor
% r2 = IdealGasReactor(gas) % a reactor containing a gas
%
% See also: Reactor
%
if nargin == 0
contents = 0;
end
r = Reactor(contents, 5);