Skip to content

Commit

Permalink
Fix halo bug on tidal forcing
Browse files Browse the repository at this point in the history
  • Loading branch information
adele-morrison committed Jun 25, 2020
1 parent 10d3bc0 commit 8d40d33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mom5/ocean_core/ocean_barotropic.F90
Original file line number Diff line number Diff line change
Expand Up @@ -6467,9 +6467,9 @@ subroutine get_tidal_forcing(Time, dayr)
eta_eq_tidal(:,:) = ideal_amp(:,:)*cosomegat_M2
endif

eta_eq_tidal(:,:) = eta_eq_tidal(:,:)*Grd%tmask(:,:,1)
eta_eq_tidal(:,:) = eta_eq_tidal(:,:)*tmask_bt(:,:)

call diagnose_2d(Time, Grd, id_eta_eq_tidal, eta_eq_tidal(:,:))
call diagnose_2d(Time, Grd, id_eta_eq_tidal, eta_eq_tidal(isd:ied,jsd:jed))


end subroutine get_tidal_forcing
Expand Down

0 comments on commit 8d40d33

Please sign in to comment.