Skip to content

Commit

Permalink
Remove redundant zeroing of boundary_forcing_tend
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-c-ross committed Aug 9, 2024
1 parent 109d6a9 commit f954adc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/tracer/MOM_generic_tracer.F90
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,6 @@ subroutine MOM_generic_tracer_column_physics(h_old, h_new, ea, eb, fluxes, Hml,
if (g_tracer_is_prog(g_tracer)) then
do k=1,nk ;do j=jsc,jec ; do i=isc,iec
h_work(i,j,k) = h_old(i,j,k)
g_tracer%boundary_forcing_tend(i,j,k) = 0
if (g_tracer%diag_id_boundary_forcing_tend .gt. 0) then
g_tracer%boundary_forcing_tend(i,j,k) = g_tracer%field(i,j,k,1)
endif
Expand Down

0 comments on commit f954adc

Please sign in to comment.