Source code for flopy.mf6.modflow.mfgwfgwt

# autogenerated file, do not modify


from os import PathLike, curdir
from typing import Union

from flopy.mf6.data.mfdatautil import ArrayTemplateGenerator, ListTemplateGenerator
from flopy.mf6.mfpackage import MFPackage


[docs]class ModflowGwfgwt(MFPackage): """ ModflowGwfgwt defines a GWFGWT package. Parameters ---------- simulation : MFSimulation Simulation that this package is a part of. Package is automatically added to simulation when it is initialized. loading_package : bool, default False Do not set this parameter. It is intended for debugging and internal processing purposes only. exgtype : str, default "GWF6-GWT6" The exchange type (GWF-GWF or GWF-GWT). exgmnamea : str, optional The name of the first model that is part of this exchange. exgmnameb : str, optional The name of the second model that is part of this exchange. filename : str or PathLike, optional Name or path of file where this package is stored. pname : str, optional Package name. **kwargs Extra keywords for :class:`flopy.mf6.mfpackage.MFPackage`. """ package_abbr = "gwfgwt" _package_type = "gwfgwt" dfn_file_name = "exg-gwfgwt.dfn" dfn = [["header"]] def __init__( self, simulation, loading_package=False, exgtype="GWF6-GWT6", exgmnamea=None, exgmnameb=None, filename=None, pname=None, **kwargs, ): """Initialize ModflowGwfgwt.""" super().__init__( parent=simulation, package_type="gwfgwt", filename=filename, pname=pname, loading_package=loading_package, **kwargs, ) self.exgtype = exgtype self.exgmnamea = exgmnamea self.exgmnameb = exgmnameb simulation.register_exchange_file(self) self._init_complete = True