Skip to content

Commit

Permalink
Fixed an oopsie with OBC
Browse files Browse the repository at this point in the history
  • Loading branch information
kshedstrom committed Oct 9, 2023
1 parent 9753901 commit c95bc31
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/core/MOM_dynamics_split_RK2.F90
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,9 @@ subroutine step_MOM_dyn_split_RK2(u, v, h, tv, visc, Time_local, dt, forces, p_s

cont_stencil = continuity_stencil(CS%continuity_CSp)
obc_stencil = 2
if (CS%OBC%oblique_BCs_exist_globally) obc_stencil = 3
if (associated(CS%OBC)) then
if (CS%OBC%oblique_BCs_exist_globally) obc_stencil = 3
endif
call cpu_clock_begin(id_clock_pass)
call create_group_pass(CS%pass_eta, eta, G%Domain, halo=1)
call create_group_pass(CS%pass_visc_rem, CS%visc_rem_u, CS%visc_rem_v, G%Domain, &
Expand Down

0 comments on commit c95bc31

Please sign in to comment.