Skip to content

Commit

Permalink
Add missing h_neglect (#98)
Browse files Browse the repository at this point in the history
Co-authored-by: Robert Hallberg <[email protected]>
  • Loading branch information
NoraLoose and Hallberg-NOAA authored Apr 4, 2022
1 parent edd3f9c commit 78c574b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/MOM_isopycnal_slopes.F90
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ subroutine calc_isoneutral_slopes(G, GV, US, h, e, tv, dt_kappa_smooth, &
hg2B = h(i,j,k)*h(i+1,j,k) + h_neglect2
hg2L = h(i,j,k-1)*h(i,j,k) + h_neglect2
hg2R = h(i+1,j,k-1)*h(i+1,j,k) + h_neglect2
haA = 0.5*(h(i,j,k-1) + h(i+1,j,k-1))
haA = 0.5*(h(i,j,k-1) + h(i+1,j,k-1)) + h_neglect
haB = 0.5*(h(i,j,k) + h(i+1,j,k)) + h_neglect
haL = 0.5*(h(i,j,k-1) + h(i,j,k)) + h_neglect
haR = 0.5*(h(i+1,j,k-1) + h(i+1,j,k)) + h_neglect
Expand Down

0 comments on commit 78c574b

Please sign in to comment.