Skip to content

Commit

Permalink
Update readGroundwaterSettings.m
Browse files Browse the repository at this point in the history
  • Loading branch information
MostafaGomaa93 authored Jun 21, 2024
1 parent fc9b954 commit 9d2d964
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/+groundwater/readGroundwaterSettings.m
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ soilThick cumulative soil layers thickness (from top to bottom)
% Check that the position of the water table is within the soil column
if gw_Dep <= 0
warning('The soil is fully saturated up to the land surface level!');
gw_Dep = 1.0; % to avoid model crashing, assign minimum gw_Dep value of 1 cm
gw_Dep = 1.0; % to avoid model crashing, assign minimum gw_Dep value of 1 cm
elseif gw_Dep > ModelSettings.Tot_Depth
warning('Groundwater table is below the end of the soil column!');
end
Expand Down

0 comments on commit 9d2d964

Please sign in to comment.