Skip to content

Commit

Permalink
Merge pull request #597 from ashao/update_grid_after_boundaryfluxes
Browse files Browse the repository at this point in the history
Fix for nonzero remapped vertical diffusion tendencies: Issue #162
  • Loading branch information
adcroft authored Sep 20, 2017
2 parents f9f97de + a972015 commit a4cc554
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 @@ -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

0 comments on commit a4cc554

Please sign in to comment.