cantera/interfaces/matlab/toolbox/1D/@Domain1D/domain_hndl.m

12 lines
286 B
Matlab

function n = domain_hndl(d)
% DOMAIN_HNDL Get the integer used to access the kernel object.
% n = domain_hndl(d)
% :param d:
% Instance of class :mat:func:`Domain1D`
% for which the handle is desired.
% :return:
% Integer used to access the kernel object
%
n = d.dom_id;