Skip to content

Commit

Permalink
Add missing optional attributes in physics/CONV/Grell_Freitas/cu_gf_d…
Browse files Browse the repository at this point in the history
…eep.F90
  • Loading branch information
climbfuji committed May 1, 2024
1 parent b9fd2d8 commit 7b6a23e
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 31 deletions.
8 changes: 4 additions & 4 deletions physics/CONV/Grell_Freitas/cu_gf_deep.F90
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ subroutine cu_gf_deep_run( &
!$acc declare copyin(rand_clos,rand_mom,rand_vmas)

integer, intent(in) :: do_capsuppress
real(kind=kind_phys), intent(in), dimension(:) :: cap_suppress_j
real(kind=kind_phys), intent(in), dimension(:), optional :: cap_suppress_j
!$acc declare create(cap_suppress_j)
!
!
Expand Down Expand Up @@ -217,11 +217,11 @@ subroutine cu_gf_deep_run( &
mconv,ccn
!$acc declare copy(mconv,ccn)
real(kind=kind_phys), dimension (:,:,:) &
,intent (inout) :: &
,intent (inout), optional :: &
chem3d
logical, intent (in) :: do_smoke_transport
real(kind=kind_phys), dimension (:,:) &
, intent (out) :: wetdpc_deep
, intent (out), optional :: wetdpc_deep
real(kind=kind_phys), intent (in) :: fscav(:)
!$acc declare copy(chem3d) copyout(wetdpc_deep) copyin(fscav)

Expand Down Expand Up @@ -376,7 +376,7 @@ subroutine cu_gf_deep_run( &
!$acc ktopdby,kbconx,ierr2,ierr3,kbmax)

integer, dimension (its:ite), intent(inout) :: ierr
integer, dimension (its:ite), intent(in) :: csum
integer, dimension (its:ite), intent(in), optional :: csum
!$acc declare copy(ierr) copyin(csum)
integer :: &
iloop,nens3,ki,kk,i,k
Expand Down
53 changes: 26 additions & 27 deletions physics/CONV/Grell_Freitas/cu_gf_driver.F90
Original file line number Diff line number Diff line change
Expand Up @@ -816,33 +816,32 @@ subroutine cu_gf_driver_run(ntracer,garea,im,km,dt,flag_init,flag_restart,&
,dx &
,mconv &
,omeg &

,cactiv &
,cnvwt &
,zu &
,zd &
,zdm & ! hli
,edt &
,edtm & ! hli
,xmb &
,xmbm &
,xmbs &
,pret &
,outu &
,outv &
,outt &
,outq &
,outqc &
,kbcon &
,ktop &
,cupclw &
,frhd &
,ierr &
,ierrc &
,nchem &
,fscav &
,chem3d &
,wetdpc_deep &
,cactiv &
,cnvwt &
,zu &
,zd &
,zdm & ! hli
,edt &
,edtm & ! hli
,xmb &
,xmbm &
,xmbs &
,pret &
,outu &
,outv &
,outt &
,outq &
,outqc &
,kbcon &
,ktop &
,cupclw &
,frhd &
,ierr &
,ierrc &
,nchem &
,fscav &
,chem3d &
,wetdpc_deep &
,do_smoke_transport &
! the following should be set to zero if not available
,rand_mom & ! for stochastics mom, if temporal and spatial patterns exist
Expand Down

0 comments on commit 7b6a23e

Please sign in to comment.