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.
5 lines
194 B
Matlab
5 lines
194 B
Matlab
function y = massFraction(r, species)
|
|
% MASSFRACTION - Mass fraction of species with name 'species'.
|
|
%
|
|
k = speciesIndex(r.contents, species) - 1;
|
|
y = reactormethods(30, reactor_hndl(r), k);
|