Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions physics/module_bl_mynn.F90
Original file line number Diff line number Diff line change
Expand Up @@ -4669,9 +4669,10 @@ SUBROUTINE mynn_bl_driver( &
LOGICAL :: INITIALIZE_QKE

! Stochastic fields
INTEGER, INTENT(IN) ::spp_pbl
REAL, DIMENSION( ims:ime, kms:kme), INTENT(IN),OPTIONAL ::pattern_spp_pbl
REAL, DIMENSION(KTS:KTE) :: rstoch_col
INTEGER, INTENT(IN) :: spp_pbl
!GJF: this array must be assumed-shape since it's conditionally-allocated
REAL, DIMENSION(:,:), INTENT(IN) :: pattern_spp_pbl
REAL, DIMENSION(KTS:KTE) :: rstoch_col

! Substepping TKE
INTEGER :: nsub
Expand Down
4 changes: 2 additions & 2 deletions physics/module_sf_mynn.F90
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,8 @@ SUBROUTINE SFCLAY_mynn( &
U3D,V3D, &
th3d,pi3d

REAL, DIMENSION( ims:ime, kms:kme), OPTIONAL, &
!GJF: This array must be assumed-shape since it is conditionally-allocated
REAL, DIMENSION( :,: ), &
INTENT(IN) :: pattern_spp_sfc
!===================================
! 2D VARIABLES
Expand Down Expand Up @@ -3765,4 +3766,3 @@ REAL function psih_unstable(zolf,psi_opt)
!========================================================================

END MODULE module_sf_mynn