Skip to content

Commit

Permalink
Initialize do_diabatic
Browse files Browse the repository at this point in the history
  • Loading branch information
Theresa Morrison authored and Theresa Morrison committed Jan 27, 2025
1 parent a31efd1 commit 5dec512
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/MOM.F90
Original file line number Diff line number Diff line change
Expand Up @@ -963,6 +963,7 @@ subroutine step_MOM(forces_in, fluxes_in, sfc_state, Time_start, time_int_in, CS
!===========================================================================
! This is the second place where the diabatic processes and remapping could occur.
if (do_thermo) then
do_diabatic = .false.
if (thermo_does_span_coupling .or. .not.do_dyn) then
do_diabatic = (CS%t_dyn_rel_thermo + 0.5*dt > dt_therm)

Check warning on line 968 in src/core/MOM.F90

View check run for this annotation

Codecov / codecov/patch

src/core/MOM.F90#L968

Added line #L968 was not covered by tests
else
Expand Down

0 comments on commit 5dec512

Please sign in to comment.