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.
10 lines
156 B
Matlab
10 lines
156 B
Matlab
function a = isFlow(d)
|
|
% ISFLOW - Returns 1 if the domain is a flow domain, and 0 otherwise.
|
|
%
|
|
t = domainType(d);
|
|
if t == 50
|
|
a = 1;
|
|
else
|
|
a = 0;
|
|
end
|
|
|