@@ -384,7 +384,6 @@ subroutine step_MOM_dyn_split_RK2(u, v, h, tv, visc, Time_local, dt, forces, p_s
384
384
real , dimension (SZI_(G),SZJ_(G)) :: hbl ! Boundary layer depth from Cvmix
385
385
real :: dt_pred ! The time step for the predictor part of the baroclinic time stepping [T ~> s].
386
386
real :: Idt_bc ! Inverse of the baroclinic timestep [T-1 ~> s-1]
387
- logical :: L_diag ! Controls if diagostics are posted in the vertFPmix
388
387
logical :: dyn_p_surf
389
388
logical :: BT_cont_BT_thick ! If true, use the BT_cont_type to estimate the
390
389
! 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
696
695
GV, US, CS% vertvisc_CSp, CS% taux_bot, CS% tauy_bot, waves= waves)
697
696
698
697
if (CS% fpmix) then
699
- L_diag = .false.
700
698
hbl(:,:) = 0.0
701
699
if (ASSOCIATED (CS% KPP_CSp)) call KPP_get_BLD(CS% KPP_CSp, hbl, G, US, m_to_BLD_units= GV% m_to_H)
702
700
if (ASSOCIATED (CS% energetic_PBL_CSp)) &
703
701
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, &
705
703
dt_pred, G, GV, US, CS% vertvisc_CSp, CS% OBC)
706
704
call vertvisc(up, vp, h, forces, visc, dt_pred, CS% OBC, CS% ADp, CS% CDp, G, &
707
705
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
947
945
CS% vertvisc_CSp, CS% taux_bot, CS% tauy_bot,waves= waves)
948
946
949
947
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, &
952
949
G, GV, US, CS% vertvisc_CSp, CS% OBC)
953
950
call vertvisc(u, v, h, forces, visc, dt, CS% OBC, CS% ADp, CS% CDp, G, GV, US, &
954
951
CS% vertvisc_CSp, CS% taux_bot, CS% tauy_bot, waves= waves)
0 commit comments