Commit f96b64f1 authored by Pierre Cazenave's avatar Pierre Cazenave

Add support for arguments to allow create_files.m to call this with different...

Add support for arguments to allow create_files.m to call this with different estimated maximum current velocity and tidal elevation
parent 219bf8fc
function [Mobj] = estimate_ts(Mobj)
function [Mobj] = estimate_ts(Mobj,u,zeta)
% Estimate time step at each node
%
......@@ -35,8 +35,8 @@ end;
%------------------------------------------------------------------------------
g = 9.81; %gravitational acceleration
u = 3.0; %u-velocity
zeta = 3.0; %tide amp
%u = 3.0; %u-velocity
%zeta = 11.0; %tide amp
if(~Mobj.have_bath)
error('can''t estimate the time step without bathymetry')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment