Skip to content

Commit

Permalink
Add missing halo update for visc%Kv_slow
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavo-marques committed Apr 19, 2018
1 parent 9d6cb46 commit 78656bb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/parameterizations/vertical/MOM_diabatic_driver.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1372,6 +1372,9 @@ subroutine diabatic(u, v, h, tv, Hml, fluxes, visc, ADp, CDp, dt, Time_end, G, G
! visc%Kv_shear is not in the group pass because it has larger vertical extent.
if (associated(visc%Kv_shear)) &
call pass_var(visc%Kv_shear, G%Domain, To_All+Omit_Corners, halo=1)
if (associated(visc%Kv_slow)) &
call pass_var(visc%Kv_slow, G%Domain, To_All+Omit_Corners, halo=1)

call cpu_clock_end(id_clock_pass)

if (.not. CS%useALEalgorithm) then
Expand Down

0 comments on commit 78656bb

Please sign in to comment.