Skip to content

Commit

Permalink
Revert order of variables in vertFPmix
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavo-marques committed Sep 6, 2023
1 parent 66fd876 commit d9aa751
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/parameterizations/vertical/MOM_vert_friction.F90
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,8 @@ module MOM_vert_friction

!> Add nonlocal stress increments to u^n (uold) and v^n (vold) using ui and vi.
subroutine vertFPmix(ui, vi, uold, vold, hbl_h, h, forces, dt, G, GV, US, CS, OBC)

type(ocean_grid_type), intent(in) :: G !< Ocean grid structure
type(verticalGrid_type), intent(in) :: GV !< Ocean vertical grid structure
real, dimension(SZIB_(G),SZJ_(G),SZK_(GV)), &
intent(inout) :: ui !< Zonal velocity after vertvisc [L T-1 ~> m s-1]
real, dimension(SZI_(G),SZJB_(G),SZK_(GV)), &
Expand All @@ -206,11 +207,9 @@ subroutine vertFPmix(ui, vi, uold, vold, hbl_h, h, forces, dt, G, GV, US, CS, OB
intent(in) :: h !< Layer thicknesses [H ~> m or kg m-2]
type(mech_forcing), intent(in) :: forces !< A structure with the driving mechanical forces
real, intent(in) :: dt !< Time increment [T ~> s]
type(ocean_grid_type), intent(in) :: G !< Ocean grid structure
type(verticalGrid_type), intent(in) :: GV !< Ocean vertical grid structure
type(unit_scale_type), intent(in) :: US !< A dimensional unit scaling type
type(vertvisc_CS), pointer :: CS !< Vertical viscosity control structure
type(ocean_OBC_type), pointer :: OBC !< Open boundary condition structure
type(vertvisc_CS), pointer :: CS !< Vertical viscosity control structure
type(ocean_OBC_type), pointer :: OBC !< Open boundary condition structure

! local variables
real, dimension(SZIB_(G),SZJ_(G)) :: hbl_u !< boundary layer depth at u-pts [H ~> m]
Expand Down

0 comments on commit d9aa751

Please sign in to comment.