Skip to content
Snippets Groups Projects
Commit f774f9ed authored by mey's avatar mey
Browse files

add try-catch block for LEM.model choice

parent 8f028dff
No related branches found
No related tags found
No related merge requests found
......@@ -58,9 +58,9 @@ LEM.initbegin = 1e+1; % initialization time (-
LEM.initend = 1e+1;
LEM.initstep = 2;
LEM.TU_coefficient = '1'; % sets the proportion of rain pixels that make up 1 TU
LEM.TU_coefficient = '1'; % sets the proportion of rain pixels that make up 1 TU
LEM.flow_model = 'transient';
LEM.erosion_multiply = 1; % multiplying factor for erosion rates. Equivalent to consider an "erosion time" larger than the hydrodynamic time
LEM.erosion_multiply = 1; % multiplying factor for erosion rates. Equivalent to consider an "erosion time" larger than the hydrodynamic time
LEM.uplift_multiplier = 1;
LEM.time_extension = 1;
......
......@@ -138,8 +138,10 @@ fprintf(fileID, ['input_sediment_concentration=',num2str(LEM.initial_sediment_st
catch
end
try
fprintf(fileID, ['model=',LEM.model,'\n']);
catch
end
% TIME
try % some parameters that are available from eros 7.5.92 onwards
fprintf(fileID, ['time:unit=',LEM.time_unit,'\n']);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment