Skip to content
Snippets Groups Projects
Commit 3a98c1ab authored by Dr. rer. nat. Jürgen Mey's avatar Dr. rer. nat. Jürgen Mey :eye:
Browse files

moved the :dir option of sediment_stock definition from write ErosInputs to the template functions

parent deb84559
No related branches found
No related tags found
No related merge requests found
...@@ -45,12 +45,6 @@ switch LEM.capacity ...@@ -45,12 +45,6 @@ switch LEM.capacity
case 0 case 0
LEM.str_nowrite = strcat(LEM.str_nowrite,':capacity'); LEM.str_nowrite = strcat(LEM.str_nowrite,':capacity');
end end
% switch LEM.rainfall
% case 1
% LEM.str_write = strcat(LEM.str_write,':rainfall');
% case 0
% LEM.str_nowrite = strcat(LEM.str_nowrite,':rainfall');
% end
switch LEM.sediment switch LEM.sediment
case 1 case 1
LEM.str_write = strcat(LEM.str_write,':sediment'); LEM.str_write = strcat(LEM.str_write,':sediment');
...@@ -135,7 +129,7 @@ end ...@@ -135,7 +129,7 @@ end
if isfield(LEM,'rainfall') if isfield(LEM,'rainfall')
fprintf(fileID, ['rainfall=',num2str(LEM.rainfall),':dir\n']); fprintf(fileID, ['rainfall=',num2str(LEM.rainfall),':dir\n']);
end end
fprintf(fileID, ['input_sediment_concentration=',num2str(LEM.initial_sediment_stock),':dir\n']); fprintf(fileID, ['input_sediment_concentration=',num2str(LEM.initial_sediment_stock),'\n']);
% Time % Time
fprintf(fileID, ['time:end=',num2str(LEM.end),':',LEM.end_option,'\n']); fprintf(fileID, ['time:end=',num2str(LEM.end),':',LEM.end_option,'\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