imod.msw.CouplerMapping#

class imod.msw.CouplerMapping(modflow_dis: imod.mf6.dis.StructuredDiscretization, well: Optional[imod.mf6.wel.WellDisStructured] = None)[source]#

This contains the data to connect MODFLOW 6 cells to MetaSWAP svats.

This class is responsible for the file mod2svat.inp. It also includes connection to wells.

Parameters
__init__(modflow_dis: imod.mf6.dis.StructuredDiscretization, well: Optional[imod.mf6.wel.WellDisStructured] = None)[source]#

Methods

__init__(modflow_dis[, well])

isel()

sel()

write(directory, index, svat)

Write MetaSWAP package to its corresponding fixed format file.

write_dataframe_fixed_width(file, dataframe)

Write dataframe to fixed format file.