Skip to content

Commit

Permalink
fix if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
SarahAlidoost committed Mar 6, 2024
1 parent 102654c commit 2bdb346
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/STEMMUS_SCOPE.m
Original file line number Diff line number Diff line change
Expand Up @@ -312,12 +312,13 @@
disp('The calculations start now');
end

if GroundwaterSettings.GroundwaterCoupling == 1 % Groundwater coupling is enabled
BoundaryCondition.NBChB = 1;
end

% Actually run the model
if strcmp(bmiMode, 'update') || strcmp(runMode, 'full')

if GroundwaterSettings.GroundwaterCoupling == 1 % Groundwater coupling is enabled
BoundaryCondition.NBChB = 1;
end

% Will do one timestep in "update mode", and run until the end if in "full run" mode.
while KT < endTime
KT = KT + 1; % Counting Number of timesteps
Expand Down

0 comments on commit 2bdb346

Please sign in to comment.