hydromodpy.solver.modflow_common.boundary_packages#
Shared descriptors for MODFLOW boundary-condition stress-period data.
MODFLOW-NWT and MODFLOW 6 both expect stress-period payloads of the
form (layer, row, col, *attrs) (DIS) or ((layer, cell_id), *attrs)
(DISV). The attributes depend on the package:
DRN:elev, condGHB:bhead, condRIV:stage, cond, rbotCHD:headWEL:flux
This module centralises the attribute names and the helper that turns a dataclass payload into a tuple row, so that both backends share a single source of truth.
Functions
|
Return the attribute names (in order) for a package kind. |
|
Raise when |
Classes
|
Structured-grid cell reference |
|
DISV cell reference: layer, cell id, plus attrs. |
|
MODFLOW package families that share a stress-period row of cell plus attrs. |