Skip to content

Commit

Permalink
Merge remote-tracking branch 'mike/ufs/dev_ugwp_stoch_phys_fix' into …
Browse files Browse the repository at this point in the history
…progc_HR2
  • Loading branch information
lisa-bengtsson committed Apr 5, 2023
2 parents aa7088e + eb816e3 commit 94eaf51
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions physics/drag_suite.F90
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ subroutine drag_suite_run( &
real(kind=kind_phys), intent(inout) :: &
& dudt(:,:),dvdt(:,:), &
& dtdt(:,:)
real(kind=kind_phys), intent(out) :: rdxzb(:)
real(kind=kind_phys), intent(inout) :: rdxzb(:)
real(kind=kind_phys), intent(in) :: &
& u1(:,:),v1(:,:), &
& t1(:,:),q1(:,:), &
Expand Down Expand Up @@ -605,7 +605,6 @@ subroutine drag_suite_run( &
else
xland(i)=2.0
endif
RDXZB(i) = 0.0
enddo

!--- calculate scale-aware tapering factors
Expand Down Expand Up @@ -818,6 +817,8 @@ subroutine drag_suite_run( &

do i=its,im

RDXZB(i) = 0.0

if ( ls_taper(i).GT.1.E-02 ) then

!
Expand Down
2 changes: 1 addition & 1 deletion physics/drag_suite.meta
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@
dimensions = (horizontal_loop_extent)
type = real
kind = kind_phys
intent = out
intent = inout
[dx]
standard_name = characteristic_grid_lengthscale
long_name = size of the grid cell
Expand Down

0 comments on commit 94eaf51

Please sign in to comment.