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.
11 lines
246 B
Matlab
11 lines
246 B
Matlab
function y = massFractions(r)
|
|
% MASSFRACTION - Mass fractions of reactor contents after last call
|
|
% to 'advance' or 'step'.
|
|
%
|
|
nsp = nSpecies(r.contents);
|
|
ir = reactor_hndl(r);
|
|
for k = 1:nsp
|
|
yy(k) = reactormethods(30, ir, k-1);
|
|
end
|
|
y = yy;
|
|
|