cantera/interfaces/matlab/toolbox/1D/@Domain1D/isFlow.m

9 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