Skip to content

Commit

Permalink
Adds missing args for KPP_get_BLD and energetic_PBL_get_MLD
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavo-marques committed Oct 15, 2020
1 parent 87ba533 commit f0face4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/tracer/MOM_neutral_diffusion.F90
Original file line number Diff line number Diff line change
Expand Up @@ -315,8 +315,9 @@ subroutine neutral_diffusion_calc_coeffs(G, GV, US, h, T, S, CS, p_surf)

! Check if hbl needs to be extracted
if (CS%interior_only) then
if (ASSOCIATED(CS%KPP_CSp)) call KPP_get_BLD(CS%KPP_CSp, hbl, G)
if (ASSOCIATED(CS%energetic_PBL_CSp)) call energetic_PBL_get_MLD(CS%energetic_PBL_CSp, hbl, G, US)
if (ASSOCIATED(CS%KPP_CSp)) call KPP_get_BLD(CS%KPP_CSp, hbl, G, US, m_to_BLD_units=GV%m_to_H)
if (ASSOCIATED(CS%energetic_PBL_CSp)) call energetic_PBL_get_MLD(CS%energetic_PBL_CSp, hbl, G, US, &
m_to_MLD_units=GV%m_to_H)
call pass_var(hbl,G%Domain)
! get k-indices and zeta
do j=G%jsc-1, G%jec+1 ; do i=G%isc-1,G%iec+1
Expand Down

0 comments on commit f0face4

Please sign in to comment.