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

8 lines
174 B
Matlab

function setProfile(d, n, p)
% SETPROFILE -
%
if d.stack == 0
error('Install domain in stack before calling setProfile.');
end
setProfile(d.stack,domainIndex(d), n, p);