# DO NOT MODIFY THIS FILE DIRECTLY. THIS FILE MUST BE CREATED BY
# mf6/utils/createpackages.py
# FILE created on May 23, 2024 14:30:07 UTC
from .. import mfpackage
[docs]class ModflowGwfprt(mfpackage.MFPackage):
"""
ModflowGwfprt defines a gwfprt 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
Do not set this parameter. It is intended for debugging and internal
processing purposes only.
exgtype : <string>
* is the exchange type (GWF-GWF or GWF-GWT).
exgmnamea : <string>
* is the name of the first model that is part of this exchange.
exgmnameb : <string>
* is the name of the second model that is part of this exchange.
filename : String
File name for this package.
pname : String
Package name for this package.
parent_file : MFPackage
Parent package file that references this package. Only needed for
utility packages (mfutl*). For example, mfutllaktab package must have
a mfgwflak package parent_file.
"""
package_abbr = "gwfprt"
_package_type = "gwfprt"
dfn_file_name = "exg-gwfprt.dfn"
dfn = [
[
"header",
],
]
def __init__(
self,
simulation,
loading_package=False,
exgtype="GWF6-PRT6",
exgmnamea=None,
exgmnameb=None,
filename=None,
pname=None,
**kwargs,
):
super().__init__(
simulation, "gwfprt", filename, pname, loading_package, **kwargs
)
# set up variables
self.exgtype = exgtype
self.exgmnamea = exgmnamea
self.exgmnameb = exgmnameb
simulation.register_exchange_file(self)
self._init_complete = True