Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
donghuix committed Oct 16, 2023
1 parent 8057ebc commit f85ea21
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion components/elm/src/biogeophys/SoilHydrologyMod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ subroutine Infiltration(bounds, num_hydrologyc, filter_hydrologyc, num_urbanc, f
if ( use_modified_infil ) then
! Assume frac_h2osfc occurs on top of fsat
if (frac_h2osfc(c) <= fsat(c)) then
qflx_h2osfc_drain(c)=0
qflx_h2osfc_drain(c)=0._r8
else
qflx_h2osfc_drain(c)=min((frac_h2osfc(c)-fsat(c))*qinmax,h2osfc(c)/dtime)
endif
Expand Down
2 changes: 1 addition & 1 deletion components/elm/src/biogeophys/SoilHydrologyType.F90
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Module SoilHydrologyType
real(r8), pointer :: i_0_col (:) => null()! col VIC average saturation in top soil layers
real(r8), pointer :: ice_col (:,:) => null()! col VIC soil ice (kg/m2) for VIC soil layers
real(r8), pointer :: fover (:) => null()! decay factor for surface runoff
real(r8), pointer :: pc (:) => null()! surface water threshold
real(r8), pointer :: pc (:) => null()! surface water threshold probability

contains

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ module clm_varcon

real(r8), parameter :: n_melt=0.7 !fsca shape parameter
real(r8), parameter :: e_ice=6.0 !soil ice impedance factor
!real(r8), parameter :: pc = 0.4 !threshold probability
real(r8), parameter :: mu = 0.13889 !connectivity exponent
real(r8) :: grav = SHR_CONST_G !gravity constant [m/s2]
real(r8) :: sb = SHR_CONST_STEBOL !stefan-boltzmann constant [W/m2/K4]
Expand Down
1 change: 0 additions & 1 deletion components/elm/src/main/elm_varcon.F90
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ module elm_varcon

real(r8), parameter :: n_melt=0.7 ! fsca shape parameter
real(r8), parameter :: e_ice=6.0 ! soil ice impedance factor
!real(r8), parameter :: pc = 0.4 ! threshold probability
real(r8), parameter :: mu = 0.13889 ! connectivity exponent
real(r8) :: grav = SHR_CONST_G ! gravity constant [m/s2]
real(r8) :: sb = SHR_CONST_STEBOL ! stefan-boltzmann constant [W/m2/K4]
Expand Down

0 comments on commit f85ea21

Please sign in to comment.