Skip to content

Commit

Permalink
Restore computation of vorticity in MOM_hor_visc.F90
Browse files Browse the repository at this point in the history
  • Loading branch information
Pperezhogin authored Aug 19, 2024
1 parent 9b45087 commit d86630e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parameterizations/lateral/MOM_hor_visc.F90
Original file line number Diff line number Diff line change
Expand Up @@ -910,7 +910,7 @@ subroutine horizontal_viscosity(u, v, h, uh, vh, diffu, diffv, MEKE, VarMix, G,
endif

! Vorticity
if ((CS%Leith_Kh) .or. (CS%Leith_Ah) .or. (CS%use_Leithy) .or. (CS%id_vort_xy_q>0)) then
if ((CS%Leith_Kh) .or. (CS%Leith_Ah) .or. (CS%use_Leithy) .or. (CS%id_vort_xy_q>0) .or. CS%use_ZB2020) then
if (CS%no_slip) then
do J=js_vort,je_vort ; do I=is_vort,ie_vort
vort_xy(I,J) = (2.0-G%mask2dBu(I,J)) * ( dvdx(I,J) - dudy(I,J) )
Expand Down

0 comments on commit d86630e

Please sign in to comment.