hydromodpy.solver.boussinesq.solver_contract#

Process-to-runtime contract helpers for the Boussinesq solver.

Functions

assert_supported_runtime_subset(flow)

Fail fast when the requested problem exceeds the implemented slice.

build_runtime_options(flow, *, ...)

Build backend-neutral nonlinear options for the selected runtime.

resolve_flow_regime(flow)

Return the normalized flow regime expected by the Boussinesq driver.

resolve_solver_contract(flow)

Return the explicit solver contract derived from the current Flow.

resolve_surface_interaction_model(flow)

Return the selected groundwater/surface interaction closure.

runtime_backend_name(flow)

Return the selected nonlinear runtime backend name.

Classes

BoussinesqSolverContract(flow_regime, ...)

Explicit mapping from one Flow configuration to one solve path.