Skip to content

Commit

Permalink
A call to pass_vector(...) is needed to correctly do a halo exchange …
Browse files Browse the repository at this point in the history
…before getting currents in A- or B-grid staggering. Now added.
  • Loading branch information
sanAkel committed Mar 23, 2021
1 parent 3193ab0 commit 17afc2b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config_src/drivers/FMS_cap/ocean_model_MOM.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1162,6 +1162,8 @@ subroutine ocean_model_get_UV_surf(OS, Ocean, name, array2D, isc, jsc)

sfc_state => OS%sfc_state

call pass_vector(sfc_state%u, sfc_state%v, G%Domain)

select case(name)
case('ua')
do j=jsc_bnd,jec_bnd ; do i=isc_bnd,iec_bnd
Expand Down

0 comments on commit 17afc2b

Please sign in to comment.