hydromodpy.solver.boussinesq.flow_to_boussinesq_adapter#

Helpers for the BoussinesqFlowAdapter.

The Boussinesq backend accepts either:

  • one runtime Gmsh planar mesh together with Flow/Domain property mapping (same spirit as the MODFLOW adapters), or

  • one gmsh-derived CatchmentMeshBundle (historical fallback).

The helpers below resolve a ready-to-solve BoussinesqMesh from either input, completing missing per-cell properties from Flow parameters when needed. Keeping them out of the adapter file makes the adapter symmetrical with solver/modflow6/adapters/flow.py and solver/modflow_nwt.

Functions

resolve_bundle_solver_mesh(setup_state, *, ...)

Build one solver mesh from a bundle, completing missing hydraulic terms.

resolve_mesh_bundle(setup_state)

Return the canonical gmsh catchment bundle attached to launcher setup.

resolve_runtime_solver_mesh(setup_state)

Build one direct solver mesh from runtime mesh + Flow/Domain mapping.