cantera/interfaces/matlab/toolbox/1D/@Stack/grid.m

7 lines
126 B
Matlab

function z = grid(s, name)
% GRID - the grid in one domain.
%
n = domainIndex(s, name);
d = s.domains(n);
z = gridPoints(d);