Skip to content

Commit 4e8d363

Browse files
committed
Merge branch 'main' into ufs-dev-PR302
2 parents 3fa3190 + 092e520 commit 4e8d363

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

physics/MP/NSSL/module_mp_nssl_2mom.F90

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10052,6 +10052,8 @@ SUBROUTINE NUCOND &
1005210052

1005310053
IF ( c1 > 0. ) THEN
1005410054
ssfilt(ix,jy,kz) = 100.*(an(ix,jy,kz,lv)/c1 - 1.0) ! from "new" values
10055+
ELSE
10056+
ssfilt(ix,jy,kz) = -100.
1005510057
ENDIF
1005610058

1005710059
ENDDO

physics/PBL/SATMEDMF/satmedmfvdifq.F

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1617,8 +1617,7 @@ subroutine satmedmfvdifq_run(im,km,ntrac,ntcw,ntrw, &
16171617
endif
16181618
enddo
16191619
enddo
1620-
1621-
do k = kmscu, 1, -1
1620+
do k = kmscu, 1, -1
16221621
do i = 1, im
16231622
if(scuflg(i) .and.
16241623
& (k >= mrad(i) .and. k < krad(i))) then

physics/PBL/SATMEDMF/satmedmfvdifq.meta

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -819,4 +819,4 @@
819819
units = 1
820820
dimensions = ()
821821
type = integer
822-
intent = out
822+
intent = out

physics/tools/canopy_utils_mod.f

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
module canopy_utils_mod
2-
2+
3+
use machine, only : kind_phys
4+
35
implicit none
46

5-
67
contains
78

89
!--------------------------------------------------------------------------
@@ -12,8 +13,8 @@ function IntegrateTrapezoid(x, y)
1213
!using the trapezoid
1314
!! approximation. Note that the mesh spacing of x does not
1415
!have to be uniform.
15-
real, intent(in) :: x(:) !! Variable x
16-
real, intent(in) :: y(size(x)) !! Function y(x)
16+
real(kind=kind_phys), intent(in) :: x(:) !! Variable x
17+
real(kind=kind_phys), intent(in) :: y(size(x)) !! Function y(x)
1718
real :: IntegrateTrapezoid !! Integral of y(x)dx
1819
! Integrate using the trapezoidal rule
1920
associate(n => size(x))

0 commit comments

Comments
 (0)