Source code for imod.wq.mal
from imod.wq.pkgbase import BoundaryCondition
[docs]
class MassLoading(BoundaryCondition):
"""
Mass loading package. Has no direct effect on groundwater flow, is only
included via MT3DMS source and sinks. (SSM ITYPE 15)
Parameters
----------
concentration: xr.DataArray of floats
"""
_pkg_id = "mal"
[docs]
def __init__(self, concentration):
super().__init__()
self["concentration"] = concentration
def repeat_stress(self, concentration, use_cftime=False):
self._repeat_stress("concentration", concentration, use_cftime)
def _pkgcheck(self, ibound=None):
self._check_positive(["concentration"])