Skip to content

Commit

Permalink
Merge pull request #3 from grantfirl/feature/stoch_spp_gjf
Browse files Browse the repository at this point in the history
Fix the rest of the Cheyenne/GNU tests
  • Loading branch information
JeffBeck-NOAA authored Feb 22, 2022
2 parents f07475c + 88d0dd3 commit f77322b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
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

0 comments on commit f77322b

Please sign in to comment.