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.
7 lines
No EOL
175 B
Matlab
7 lines
No EOL
175 B
Matlab
function n = nAtoms(a,k,m)
|
|
% NATOMS - Number of atoms of element m in species k.
|
|
if nargin == 3
|
|
n = phase_get(a.tp_id,14,k,m);
|
|
else
|
|
error('usage: nAtoms(phase, k, m)')
|
|
end |