Skip to content

Commit

Permalink
Merge branch 'user/nnz/fix_issue_272' into dev/master
Browse files Browse the repository at this point in the history
Closes #272
  • Loading branch information
adcroft committed Apr 30, 2016
2 parents b7fef6d + 31ad0f5 commit 84ca7dd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/framework/MOM_diag_mediator.F90
Original file line number Diff line number Diff line change
Expand Up @@ -835,6 +835,11 @@ subroutine diag_update_target_grids(diag_cs)
! Store z-star thicknesses on h-points
do j=G%jsc, G%jec+1
do i=G%isc, G%iec+1
if (G%mask2dT(i,j)==0.) then
diag_cs%h_zoutput(i,j,:) = 0.
cycle
endif

h_src_1d(:) = diag_cs%h(i,j,:)
call build_zstar_column(diag_cs%regrid_cs, nz_dest, G%bathyT(i,j), &
sum(h_src_1d(:)), z_out_1d)
Expand Down

0 comments on commit 84ca7dd

Please sign in to comment.