hydromodpy.solver.modflow6.builders.boundary_conditions#

MF6 boundary-condition builders (CHD, DRN, side/ocean/stream support).

Functions

apply_side_boundary_start_heads(model, strt)

Apply side boundary start heads on flat (nlay, ncpl) strt array.

boundary_attr(boundary, name[, default])

Read one boundary attribute from either a mapping or a typed payload.

boundary_conditions_mapping(model)

boundary_period_series(model, *, value, label)

boundary_start_value(model, *, value, label)

boundary_support_cell_ids(model, *, ...)

Return flat cell ids selected by one BC support definition.

build_drain_stress_period_data(model, *, ...)

Build DRN stress-period data with a dimensionally-correct hk fallback.

build_ocean_boundary_chd_spd(model)

build_side_boundary_chd_spd(model)

build_stream_boundary_chd_spd(model)

coerce_conductance_series_to_m2_per_s(*, ...)

coerce_length_series_to_m(*, values, units, ...)

forcing_units(forcing, *, fallback)

is_bc_active(model, bc_id)

is_scalar_number(value)

iter_side_boundary_cells(model, bc_id)

Yield (lay, cell_id) tuples for DISV boundary cells.

ocean_chd_support_mask(model, ocean_series)

Return flat (ncpl,) boolean mask for ocean CHD cells.

resolve_drainage_conductance_series(model)

resolve_ocean_boundary_series(model)

resolve_side_boundary_series(model, *, ...)

resolve_stream_boundary_series(model)

side_boundary_cell_ids(model, bc_id)

Return flat cell IDs touched by one side boundary.

stream_chd_support_mask(model, stream_series)

Return flat (ncpl,) boolean mask for stream CHD cells.