imod.mf6.GeneralHeadBoundary.reallocate#

GeneralHeadBoundary.reallocate(dis: StructuredDiscretization | VerticesDiscretization, npf: NodePropertyFlow | None = None, allocation_option: ALLOCATION_OPTION | None = None, distributing_option: DISTRIBUTING_OPTION | None = None) Self#

Reallocates topsystem data across layers and create new package with it. Aggregate data to planar data first, by taking either the mean for state variables (e.g. river stage), or the sum for fluxes and the conductance. Consequently allocate and distribute the planar data to the provided model layer schematization.

Parameters:
Returns:

A new instance of the boundary condition class with the reallocated data. The original instance remains unchanged.

Return type:

BoundaryCondition