[Matlab] Deprecate constants.m
This commit is contained in:
parent
ffeef2240a
commit
b88e2cb00d
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue