Skip to content

Commit

Permalink
[Matlab] Update 1D documentation
Browse files Browse the repository at this point in the history
Replace magic numbers for 1D domain types with string constants
  • Loading branch information
ssun30 authored and speth committed May 11, 2023
1 parent 2318dd9 commit 55ccdc6
Show file tree
Hide file tree
Showing 23 changed files with 1,343 additions and 714 deletions.
2 changes: 1 addition & 1 deletion interfaces/matlab_experimental/1D/AxiStagnFlow.m
@@ -1,4 +1,4 @@
function m = AxiStagnFlow(gas)
% Get an axisymmetric stagnation flow domain.
m = Domain1D(1, gas);
m = Domain1D('StagnationFlow', gas);
end
2 changes: 1 addition & 1 deletion interfaces/matlab_experimental/1D/AxisymmetricFlow.m
Expand Up @@ -2,7 +2,7 @@
% Create an axisymmetric flow domain.
% :param id:
% String ID of the flow.
m = Domain1D(1, gas);
m = Domain1D('StagnationFlow', gas);
if nargin == 1
m.setID('flow');
else
Expand Down

0 comments on commit 55ccdc6

Please sign in to comment.