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.
15 lines
222 B
Matlab
15 lines
222 B
Matlab
function zz = z(d, n)
|
|
% GRID -
|
|
%
|
|
if nargin == 1
|
|
for i = 1:nPoints(d)
|
|
zz(i) = domain_methods(d.dom_id, 19, i);
|
|
end
|
|
else
|
|
m = length(n);
|
|
for i = 1:m
|
|
zz(i) = domain_methods(d.dom_id, 19, n(i));
|
|
end
|
|
end
|
|
|
|
|