Skip to content

Commit

Permalink
physics/drag_suite.F90: bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
climbfuji committed Sep 29, 2019
1 parent 5b7201d commit 78c5910
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions physics/drag_suite.F90
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ subroutine drag_suite_run( &
integer, parameter :: ims=1, kms=1, its=1, kts=1
real(kind=kind_phys), intent(in) :: fv, pi
real(kind=kind_phys) :: rcl, cdmb
real(kind=kind_phys) :: g_inv = 1./G
real(kind=kind_phys) :: g_inv

real(kind=kind_phys), intent(out) :: &
& dudt(im,km),dvdt(im,km), &
Expand Down Expand Up @@ -546,7 +546,7 @@ subroutine drag_suite_run( &
integer,parameter :: mdir=8
!integer :: nwdir(mdir)
!data nwdir/6,7,5,8,2,3,1,4/
integer, parameter :: nwdir = (/6,7,5,8,2,3,1,4/)
integer, parameter :: nwdir(8) = (/6,7,5,8,2,3,1,4/)
!
! variables for flow-blocking drag
!
Expand All @@ -568,11 +568,9 @@ subroutine drag_suite_run( &
character(len=*), intent(out) :: errmsg
integer, intent(out) :: errflg


! Calculate inverse of gravitational acceleration
g_inv = 1./G


! Initialize CCPP error handling variables
errmsg = ''
errflg = 0
Expand Down

0 comments on commit 78c5910

Please sign in to comment.