API
Vulnerability curve
ClimaCache.BrooksCorey — MethodBrooksCorey{FT}(vg::VanGenuchten{FT}) where {FT<:AbstractFloat}A constructor for BrooksCorey to create BrooksCorey type soil from VanGenuchten type, given
vgVanGenuchtentype soil water retention curve
SoilHydraulics.soil_θ — Functionsoil_θ(bc::BrooksCorey{FT}, ψ_25::FT) where {FT<:AbstractFloat}
soil_θ(vg::VanGenuchten{FT}, ψ_25::FT) where {FT<:AbstractFloat}Return the soil water content, given
bcorvgBrooksCoreyorVanGenuchtentype structureψ_25Soil metric potential corrected to 25 Celcius
SoilHydraulics.soil_ψ_25 — Functionsoil_ψ_25(bc::BrooksCorey{FT}, θ::FT; oversaturation::Bool = false) where {FT<:AbstractFloat}
soil_ψ_25(vg::VanGenuchten{FT}, θ::FT; oversaturation::Bool = false) where {FT<:AbstractFloat}Return the soil metric potential, given
bcorvgBrooksCoreyorVanGenuchtentype structureθSoil volumetric water content (absolute value)oversaturationIf true, allow for soil water oversaturation
SoilHydraulics.relative_hydraulic_conductance — Functionrelative_hydraulic_conductance(bc::BrooksCorey{FT}, θ::FT) where {FT<:AbstractFloat}
relative_hydraulic_conductance(bc::BrooksCorey{FT}, ψ::Bool, ψ_25::FT) where {FT<:AbstractFloat}
relative_hydraulic_conductance(vg::VanGenuchten{FT}, θ::FT) where {FT<:AbstractFloat}
relative_hydraulic_conductance(vg::VanGenuchten{FT}, ψ::Bool, ψ_25::FT) where {FT<:AbstractFloat}Return the relative hydraulic conductance of the soil, given
bcorvgBrooksCoreyorVanGenuchtentype structureθSoil volumetric water content (absolute value)ψBool to indicate that next parameter is potentialψ_25Soil metric potential at a reference temperature of 25 °C
Soil energy+water budget
SoilHydraulics.root_sink — Functionroot_sink(root::Root{FT}) where {FT<:AbstractFloat}Return root water update, given
rootRoottype struct that may contain non- and steady state flow
SoilHydraulics.soil_budget! — FunctionThis function have two major features:
- Compute the marginal change of soil water content and energy
- Update soil water content and energy without over-saturating or draining the soil
SoilHydraulics.soil_budget! — Methodsoil_budget!(spac::Union{MonoMLGrassSPAC{FT}, MonoMLPalmSPAC{FT}, MonoMLTreeSPAC{FT}}) where {FT<:AbstractFloat}Update the marginal increase of soil water content and energy per layer, given
spacMonoMLGrassSPAC,MonoMLPalmSPAC, orMonoMLTreeSPACSPAC
SoilHydraulics.soil_budget! — Methodsoil_budget!(spac::Union{MonoMLGrassSPAC{FT}, MonoMLPalmSPAC{FT}, MonoMLTreeSPAC{FT}}, δt::FT) where {FT<:AbstractFloat}Run soil water and energy budget, given
spacMonoMLGrassSPAC,MonoMLPalmSPAC, orMonoMLTreeSPACSPACδtTime step