These changes make it unnecessary to copy header files around during the build process, which tends to confuse IDEs and debuggers. The headers which comprise Cantera's external C++ interface are now in the 'include' directory. All of the samples and demos are now in the 'samples' subdirectory.
17 lines
318 B
Matlab
17 lines
318 B
Matlab
function c = coverages(s)
|
|
% COVERAGES - Surface coverages
|
|
%
|
|
c = surfmethods(thermo_hndl(s), 101);
|
|
if nargout == 0
|
|
figure
|
|
set(gcf,'Name','Coverages')
|
|
bar(c);
|
|
colormap(summer);
|
|
nm = speciesNames(s);
|
|
legend(nm);
|
|
xlabel('Species Number');
|
|
ylabel('Coverage');
|
|
title('Surface Species Coverages');
|
|
end
|
|
|
|
|