hydromodpy.solver.boussinesq.runtimes.vi_bounds#

Variable-bound helpers shared by PETSc Boussinesq VI runtimes.

Functions

has_positive_drainage_conductance(...)

Return whether a finite-conductance top drainage BC is explicitly active.

upper_bounds_for_drainage_policy(*, mesh, ...)

Return VI upper bounds consistent with the configured top exchange.

variable_bounds(mesh, prescribed_head_m_by_cell)

Return PETSc VI lower/upper vectors and the prescribed-cell mask.