From c092484f4df60caf0c967df4552eedf2c010eb53 Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Fri, 9 Jun 2017 18:53:39 -0400 Subject: [PATCH] [Matlab] Deprecate npflame_init in favor of CounterFlowDiffusionFlame --- interfaces/matlab/toolbox/1D/npflame_init.m | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/interfaces/matlab/toolbox/1D/npflame_init.m b/interfaces/matlab/toolbox/1D/npflame_init.m index 09fbed6fb..0d064afb4 100644 --- a/interfaces/matlab/toolbox/1D/npflame_init.m +++ b/interfaces/matlab/toolbox/1D/npflame_init.m @@ -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.');