Skip to content

Commit

Permalink
Avoid communication barrier using available halo points
Browse files Browse the repository at this point in the history
  • Loading branch information
MJHarrison-GFDL committed Oct 3, 2023
1 parent 502d710 commit 99531a7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/core/MOM_open_boundary.F90
Original file line number Diff line number Diff line change
Expand Up @@ -3843,10 +3843,8 @@ subroutine update_OBC_segment_data(G, GV, US, OBC, tv, h, Time)
h_neglect = GV%kg_m2_to_H * 1.0e-30 ; h_neglect_edge = GV%kg_m2_to_H * 1.0e-10
endif

if (OBC%number_of_segments >= 1) then
call thickness_to_dz(h, tv, dz, G, GV, US)
call pass_var(dz, G%Domain)
endif
if (OBC%number_of_segments >= 1) call thickness_to_dz(h, tv, dz, G, GV, US, halo_size=2)


do n = 1, OBC%number_of_segments
segment => OBC%segment(n)
Expand Down

0 comments on commit 99531a7

Please sign in to comment.