hydromodpy.solver.boussinesq.runtime_summary#

Helpers that keep Boussinesq runtime summary bookkeeping out of the driver.

Functions

elapsed_days_for_snapshots(state, *, n_snapshots)

Return one elapsed-time axis aligned with exported state snapshots.

history_or_current(history_values, ...)

Return one 2D history array from an optional history/current pair.

record_runtime_backend_summary(solver, contract)

Record which nonlinear strategy was used for this solve.

record_surface_threshold_summary(solver)

Record compact diagnostics about surface-threshold activation.