[Matlab] Deprecate npflame_init in favor of CounterFlowDiffusionFlame
This commit is contained in:
parent
43bd96b5ba
commit
c092484f4d
1 changed files with 6 additions and 0 deletions
|
|
@ -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.');
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue