Runoff
Runoff types and functions
ClimateMachine.Land.Runoff.AbstractPrecipModel — TypeAbstractPrecipModel{FT <: AbstractFloat}ClimateMachine.Land.Runoff.DrivenConstantPrecip — TypeDrivenConstantPrecip{FT, F} <: AbstractPrecipModel{FT}Instance of a precipitation distribution where the precipication value is constant across the domain. However, this value can change in time.
Precipitation is assumed to be aligned with the vertical, i.e. P⃗ = Pẑ, with P<0.
Fields
mpMean precipitation in grid
ClimateMachine.Land.Runoff.AbstractSurfaceRunoffModel — TypeAbstractSurfaceRunoffModelAbstract type for different surface runoff models. Currently, only NoRunoff is supported.
ClimateMachine.Land.Runoff.NoRunoff — TypeNoRunoff <: AbstractSurfaceRunoffModelChosen when no runoff is to be modeled.
ClimateMachine.Land.Runoff.CoarseGridRunoff — TypeCoarseGridRunoff{FT} <: AbstractSurfaceRunoffModelChosen when no subgrid effects are to be modeled.
ClimateMachine.Land.Runoff.compute_surface_grad_bc — Functionfunction compute_surface_grad_bc(soil::SoilModel,
runoff_model::CoarseGridRunoff,
precip_model::AbstractPrecipModel,
n̂,
state⁻::Vars,
diff⁻::Vars,
aux⁻::Vars,
t::Real
)Given a runoff model and a precipitation distribution function, compute the surface water flux normal to the surface. The sign of the flux (inwards or outwards) is determined by the magnitude of precipitation, evaporation, and infiltration.
function compute_surface_grad_bc(soil::SoilModel,
runoff_model::NoRunoff,
precip_model::AbstractPrecipModel,
n̂,
state⁻::Vars,
aux⁻::Vars,
diff⁻::Vars,
t::Real
)Given a runoff model and a precipitation distribution function, compute the surface water flux normal to the surface. In this case, no runoff is assumed. The direction of the flux (inwards or outwards) depends on the magnitude of evaporation, precipitation, and infiltration.