[Matlab] Deprecate npflame_init in favor of CounterFlowDiffusionFlame

This commit is contained in:
Ray Speth 2017-06-09 18:53:39 -04:00
parent 43bd96b5ba
commit c092484f4d

View file

@ -1,6 +1,10 @@
function flame = npflame_init(gas, left, flow, right, fuel, oxidizer, nuox)
% NPFLAME_INIT Create a non-premixed flame stack.
% flame = npflame_init(gas, left, flow, right, fuel, oxidizer, nuox)
%
% This function is deprecated in favor of :mat:func:`CounterFlowDiffusionFlame`
% and will be removed after Cantera 2.4.
%
% :param gas:
% Object representing the gas, instance of class
% :mat:func:`Solution`, and an ideal gas. This object will be used
@ -29,6 +33,8 @@ function flame = npflame_init(gas, left, flow, right, fuel, oxidizer, nuox)
% inlet, flow, and right inlet.
%
warning('This function is deprecated and will be removed after Cantera 2.4. Use CounterFlowDiffusionFlame instead');
% Check input parameters
if nargin ~= 7
error('npflame_init expects seven input arguments.');