Skip to content

Commit

Permalink
Update Calc_f13.m
Browse files Browse the repository at this point in the history
adding advection_state
  • Loading branch information
WPringle committed Mar 17, 2020
1 parent b2d23d9 commit c5b9438
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions utilities/Calc_f13.m
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
% 'Mn' ('mannings_n_at_sea_floor')
% 'Ss' ('surface_submergence_state')
% 'Re' ('initial_river_elevation')
% 'Ad' ('advection_state')
%
% 3) then either:
% 'inpoly' followed by...
Expand Down Expand Up @@ -47,6 +48,9 @@
elseif strcmpi(attribute,'Re')
attrname = 'initial_river_elevation';
default_val = 0;
elseif strcmpi(attribute,'Ad')
attrname = 'advection_state';
default_val = -999;
else
error(['Attribute ' attribute ' not currently supported'])
end
Expand Down

0 comments on commit c5b9438

Please sign in to comment.