Skip to content

Commit

Permalink
move calculateSoilLayerThickness from +groundwater to +io
Browse files Browse the repository at this point in the history
  • Loading branch information
MostafaGomaa93 authored Aug 15, 2024
1 parent 46913d8 commit c795088
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/STEMMUS_SCOPE.m
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@

% Load groundwater settings
GroundwaterSettings = groundwater.initializeGroundwaterSettings();
GroundwaterSettings.soilThick = io.calculateSoilLayerThickness(ModelSettings);

% load forcing data
ForcingData = io.loadForcingData(InputPath, TimeProperties, SoilProperties, ModelSettings.Tot_Depth, GroundwaterSettings);
Expand Down Expand Up @@ -292,9 +293,6 @@
Delt_t0 = Delt_t; % Duration of last time step
TOLD_CRIT = [];

% 15. Calculate soil layer thickness
GroundwaterSettings.soilThick = groundwater.calculateSoilLayerThickness(ModelSettings);

% for soil moisture and temperature outputs
monitorDepthTemperature = ModelSettings.NL:-1:1;
monitorDepthSoilMoisture = ModelSettings.NL:-1:1;
Expand Down

0 comments on commit c795088

Please sign in to comment.