Skip to content

Commit

Permalink
Remove debug statement and left-align #ifdef
Browse files Browse the repository at this point in the history
* Remove extraneous debug print statement
* Left-align an #ifdef to make gfortran happy
  • Loading branch information
rcabell committed Nov 21, 2019
1 parent 966df72 commit 0038cce
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions trunk/NDHMS/Routing/module_channel_routing.F
Original file line number Diff line number Diff line change
Expand Up @@ -985,9 +985,6 @@ Subroutine drive_CHANNEL(latval,lonval,KT, IXRT,JXRT, SUBRTSWCRT, &
if(TYPEL(k) == 1) then !--link is a reservoir
l_idx = lake_lookup(k)
if (l_idx >= 0) then !-- -999 if not a reservoir in the lookup table (belt-and-suspenders check)
print *, "CALL LEVELPOOL", l_idx,Quc, Qup, QLINK(k,2), QLateral(k), DT, &
RESHT(l_idx), HRZAREA(l_idx), WEIRH(l_idx), LAKEMAXH(l_idx), &
WEIRC(l_idx), WEIRL(l_idx), ORIFICEE(l_idx), ORIFICEC(l_idx), ORIFICEA(l_idx)
CALL LEVELPOOL(l_idx,Quc, Qup, QLINK(k,2), QLateral(k), DT, &
RESHT(l_idx), HRZAREA(l_idx), WEIRH(l_idx), LAKEMAXH(l_idx), &
WEIRC(l_idx), WEIRL(l_idx), ORIFICEE(l_idx), ORIFICEC(l_idx), ORIFICEA(l_idx))
Expand All @@ -1011,11 +1008,11 @@ Subroutine drive_CHANNEL(latval,lonval,KT, IXRT,JXRT, SUBRTSWCRT, &
! endif !!! order(1) .ne. 1
end do !--k links
#ifdef MPP_LAND
#ifdef MPP_LAND
call updateLake_seq(RESHT,nlakes,tmpRESHT)
call updateLake_seq(QLAKEO,nlakes,tmpQLAKEO)
call updateLake_seq(QLAKEI,nlakes,tmpQLAKEI)
#endif
#endif
!yw check
! gQLINK = 0.0
Expand Down

0 comments on commit 0038cce

Please sign in to comment.