Source code for imod.wq.tvc

from imod.wq.pkgbase import BoundaryCondition


[docs]class TimeVaryingConstantConcentration(BoundaryCondition): """ Time varying constant concentration package. Has no direct effect on groundwater flow, is only included via MT3DMS source and sinks. (SSM ITYPE -1) Parameters ---------- concentration: xr.DataArray of floats """ __slots__ = ("concentration",) _pkg_id = "tvc" def __init__(self, concentration): super(__class__, self).__init__() self["concentration"] = concentration
[docs] def add_timemap(self, concentration, use_cftime=False): self._add_timemap("concentration", concentration, use_cftime)
def _pkgcheck(self, ibound=None): self._check_positive(["concentration"])