[Matlab] Deprecate constants.m

This commit is contained in:
Ray Speth 2016-06-27 14:16:48 -04:00
parent ffeef2240a
commit b88e2cb00d

View file

@ -1,6 +1,9 @@
function [atm, r] = constants
% CONSTANTS Get the values of important constants.
% [atm,r] = constants
% Deprecated. To be removed after Cantera 2.3. Use :mat:func:`oneatm` and
% :mat:func:`gasconstant` instead.
%
% :return:
% If one output argument is given, returns one atmosphere in
% Pascals. If two output arguments are given, returns one
@ -8,5 +11,6 @@ function [atm, r] = constants
% J/kmol-K.
%
warning('This function is deprecated and will be removed after Cantera 2.3.');
atm = 101325.0;
r = 8314.4621;