cantera/interfaces/matlab/toolbox/@Interface/concentrations.m

15 lines
371 B
Matlab

function c = concentrations(s)
% CONCENTRATIONS - Surface concentrations
%
c = surfmethods(thermo_hndl(s), 101);
if nargout == 0
figure
set(gcf,'Name','Concentrations')
bar(c);
colormap(summer);
nm = speciesNames(s);
legend(nm);
xlabel('Species Number');
ylabel('Concentration [kmol/m2]');
title('Surface Species Concentrations');
end