Skip to content
Open
Changes from all commits
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
3 changes: 3 additions & 0 deletions build/source/engine/soilLiqFlx.f90
Original file line number Diff line number Diff line change
Expand Up @@ -1626,6 +1626,9 @@ subroutine update_surfaceFlx_liquidFlux_computation_max_infiltration_rate
! input-output: surface runoff and infiltration flux (m s-1)
xMaxInfilRate => io_surfaceFlx % xMaxInfilRate & ! maximum infiltration rate (m s-1)
&)
! compute total soil depth from layer thicknesses
total_soil_depth = sum(in_surfaceFlx % mLayerDepth)

! define the depth to the wetting front (m) and derivatives
depthWettingFront = (rootZoneLiq/availCapacity)*min(rootingDepth,total_soil_depth)
if(updateInfil)then
Expand Down