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 Hallberg-NOAA committed Jan 27, 2025
1 parent 89ac45a commit 4b39e62
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)
else
Expand Down

0 comments on commit 4b39e62

Please sign in to comment.