Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
2 changes: 1 addition & 1 deletion physics/drag_suite.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1260,7 +1260,7 @@ subroutine drag_suite_run( &
eng1 = 0.5*( (rcs*(u1(i,k)+(dtaux+dtauxb)*deltim))**2 + &
(rcs*(v1(i,k)+(dtauy+dtauyb)*deltim))**2 )
! Modify theta tendency
dtdt(i,k) = dtdt(i,k) + max((eng0-eng1),0.0)/cp/deltim/prslk(i,k)
dtdt(i,k) = dtdt(i,k) + max((eng0-eng1),0.0)/cp/deltim
end if

dusfc(i) = dusfc(i) + taud_ls(i,k)*xn(i)*del(i,k) + taud_bl(i,k)*xn(i)*del(i,k)
Expand Down
3 changes: 2 additions & 1 deletion physics/unified_ugwp.F90
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,8 @@ subroutine unified_ugwp_run(me, master, im, levs, ntrac, dtp, fhzero, kdt,
integer, intent(in) :: gwd_opt
integer, intent(in), dimension(im) :: kpbl
real(kind=kind_phys), intent(in), dimension(im) :: oro, oro_uf, hprime, oc, theta, sigma, gamma
real(kind=kind_phys), intent(in), dimension(im) :: varss,oc1ss,oa4ss,ol4ss,dx
real(kind=kind_phys), intent(in), dimension(im) :: varss,oc1ss,dx
real(kind=kind_phys), intent(in), dimension(im,4) :: oa4ss,ol4ss
logical, intent(in) :: flag_for_gwd_generic_tend
! elvmax is intent(in) for CIRES UGWP, but intent(inout) for GFS GWDPS
real(kind=kind_phys), intent(inout), dimension(im) :: elvmax
Expand Down