Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for nonzero remapped vertical diffusion tendencies: Issue #162 #597

Merged
merged 1 commit into from
Sep 20, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -854,6 +854,9 @@ subroutine diabatic(u, v, h, tv, Hml, fluxes, visc, ADp, CDp, dt, G, GV, CS)
endif
enddo ; enddo
enddo
! Application of boundary forcing and the checks for negative thickness may have changed layer thicknesses
call diag_update_remap_grids(CS%diag)

if (CS%debug) then
call MOM_state_chksum("after negative check ", u, v, h, G, GV, haloshift=0)
call MOM_forcing_chksum("after negative check ", fluxes, G, haloshift=0)
Expand Down