Skip to content

Commit

Permalink
Merge pull request #324 from adele157/adele_tide_fixes
Browse files Browse the repository at this point in the history
Fix halo bug on tidal forcing
  • Loading branch information
aekiss authored Oct 26, 2020
2 parents 5aec067 + 8d40d33 commit af3a94d
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 af3a94d

Please sign in to comment.