Skip to content

Commit

Permalink
Fix nudged OBCs for tracers - Update Syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
WenhaoChen89 committed Aug 22, 2022
1 parent 4bea452 commit 85fde95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/MOM_open_boundary.F90
Original file line number Diff line number Diff line change
Expand Up @@ -5094,8 +5094,8 @@ subroutine update_segment_tracer_reservoirs(G, GV, uhr, vhr, h, OBC, dt, Reg)
if (associated(OBC)) then ; if (OBC%OBC_pe) then ; do n=1,OBC%number_of_segments
segment=>OBC%segment(n)
if (.not. associated(segment%tr_Reg)) cycle
b_in = 0; if (segment%Tr_InvLscale_in == 0) b_in = 1
b_out = 0; if (segment%Tr_InvLscale_out == 0) b_out = 1
b_in = 0.0; if (segment%Tr_InvLscale_in == 0.0) b_in = 1.0
b_out = 0.0; if (segment%Tr_InvLscale_out == 0.0) b_out = 1.0
if (segment%is_E_or_W) then
I = segment%HI%IsdB
do j=segment%HI%jsd,segment%HI%jed
Expand Down

0 comments on commit 85fde95

Please sign in to comment.