Skip to content

Commit

Permalink
Fix calls to find_eta and calc_Visbeck_coeffs
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavo-marques committed Jan 22, 2019
1 parent 019ee95 commit d3aaa9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/parameterizations/lateral/MOM_lateral_mixing_coeffs.F90
Original file line number Diff line number Diff line change
Expand Up @@ -415,12 +415,12 @@ subroutine calc_slope_functions(h, tv, dt, G, GV, CS)

if (CS%calculate_Eady_growth_rate .or. CS%use_stored_slopes &
.or. CS%use_GME_VarMix) then
call find_eta(h, tv, GV%g_Earth, G, GV, e, halo_size=2)
call find_eta(h, tv, G, GV, e, halo_size=2)
if (CS%use_stored_slopes) then
call calc_isoneutral_slopes(G, GV, h, e, tv, dt*CS%kappa_smooth, &
CS%slope_x, CS%slope_y, CS%N2_u, CS%N2_v, 1)
if (CS%calculate_Eady_growth_rate) then
call calc_Visbeck_coeffs(h, e, CS%slope_x, CS%slope_y, CS%N2_u, CS%N2_v, G, GV, CS)
call calc_Visbeck_coeffs(h, CS%slope_x, CS%slope_y, CS%N2_u, CS%N2_v, G, GV, CS)
endif
! call calc_slope_functions_using_just_e(h, G, CS, e, .false.)
else
Expand Down

0 comments on commit d3aaa9d

Please sign in to comment.