[Matlab] Fix definition of isFlow
Caused most Matlab flame simulations to fail, e.g. those using
CounterFlowDiffusionFlame.m or flame.m. Fixes regression introduced in c1067aa.
Fixes #554
This commit is contained in:
parent
7a697a4047
commit
fefc008ed2
1 changed files with 3 additions and 1 deletions
|
|
@ -8,7 +8,9 @@ function a = isFlow(d)
|
|||
%
|
||||
|
||||
t = domainType(d);
|
||||
if t == 50
|
||||
|
||||
% See Domain1D.h for definitions of constants
|
||||
if t < 100
|
||||
a = 1;
|
||||
else
|
||||
a = 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue