Skip to content

Commit 4cd7e8f

Browse files
Merge branch 'fpmix_draft_15August2023' into stokes_most_wave_interface
2 parents a56b5e3 + d9aa751 commit 4cd7e8f

File tree

2 files changed

+92
-116
lines changed

2 files changed

+92
-116
lines changed

src/core/MOM_dynamics_split_RK2.F90

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,6 @@ subroutine step_MOM_dyn_split_RK2(u, v, h, tv, visc, Time_local, dt, forces, p_s
384384
real, dimension(SZI_(G),SZJ_(G)) :: hbl ! Boundary layer depth from Cvmix
385385
real :: dt_pred ! The time step for the predictor part of the baroclinic time stepping [T ~> s].
386386
real :: Idt_bc ! Inverse of the baroclinic timestep [T-1 ~> s-1]
387-
logical :: L_diag ! Controls if diagostics are posted in the vertFPmix
388387
logical :: dyn_p_surf
389388
logical :: BT_cont_BT_thick ! If true, use the BT_cont_type to estimate the
390389
! relative weightings of the layers in calculating
@@ -696,12 +695,11 @@ subroutine step_MOM_dyn_split_RK2(u, v, h, tv, visc, Time_local, dt, forces, p_s
696695
GV, US, CS%vertvisc_CSp, CS%taux_bot, CS%tauy_bot, waves=waves)
697696

698697
if (CS%fpmix) then
699-
L_diag = .false.
700698
hbl(:,:) = 0.0
701699
if (ASSOCIATED(CS%KPP_CSp)) call KPP_get_BLD(CS%KPP_CSp, hbl, G, US, m_to_BLD_units=GV%m_to_H)
702700
if (ASSOCIATED(CS%energetic_PBL_CSp)) &
703701
call energetic_PBL_get_MLD(CS%energetic_PBL_CSp, hbl, G, US, m_to_MLD_units=GV%m_to_H)
704-
call vertFPmix(L_diag, up, vp, uold, vold, hbl, h, forces, &
702+
call vertFPmix(up, vp, uold, vold, hbl, h, forces, &
705703
dt_pred, G, GV, US, CS%vertvisc_CSp, CS%OBC)
706704
call vertvisc(up, vp, h, forces, visc, dt_pred, CS%OBC, CS%ADp, CS%CDp, G, &
707705
GV, US, CS%vertvisc_CSp, CS%taux_bot, CS%tauy_bot, waves=waves)
@@ -947,8 +945,7 @@ subroutine step_MOM_dyn_split_RK2(u, v, h, tv, visc, Time_local, dt, forces, p_s
947945
CS%vertvisc_CSp, CS%taux_bot, CS%tauy_bot,waves=waves)
948946

949947
if (CS%fpmix) then
950-
L_diag = .true.
951-
call vertFPmix(L_diag, u, v, uold, vold, hbl, h, forces, dt, &
948+
call vertFPmix(u, v, uold, vold, hbl, h, forces, dt, &
952949
G, GV, US, CS%vertvisc_CSp, CS%OBC)
953950
call vertvisc(u, v, h, forces, visc, dt, CS%OBC, CS%ADp, CS%CDp, G, GV, US, &
954951
CS%vertvisc_CSp, CS%taux_bot, CS%tauy_bot, waves=waves)

0 commit comments

Comments
 (0)