imod.mf6.AdvectionCentral#
- class imod.mf6.AdvectionCentral(*_, **__)[source]#
The central-in-space weighting scheme is based on a simple distance-weighted linear interpolation between the center of cell n and the center of cell m to calculate solute concentration at the shared face between cell n and cell m. Although central-in-space is a misnomer for grids without equal spacing between connected cells, it is retained here for consistency with nomenclature used by other MODFLOW-based transport programs, such as MT3D. Note: all constructor arguments will be ignored
Methods
__init__
([scheme])cleanup
(dis)clip_box
([time_min, time_max, layer_min, ...])Clip a package by a bounding box (time, layer, y, x).
copy
()from_file
(path, **kwargs)Loads an imod mf6 package from a file (currently only netcdf and zarr are supported).
get_non_grid_data
(grid_names)This function copies the attributes of a dataset that are scalars, such as options.
get_regrid_methods
()is_clipping_supported
()is_empty
()Returns True if the package is empty- for example if it contains only no-data values.
is_grid_agnostic_package
()is_regridding_supported
()is_splitting_supported
()isel
()mask
(_)The mask method is irrelevant for this package , instead this method retuns a copy of itself.
regrid_like
(target_grid, regrid_cache[, ...])Creates a package of the same type as this package, based on another discretization.
render
(directory, pkgname, globaltimes, binary)sel
()to_netcdf
(*args, **kwargs)Write dataset contents to a netCDF file.
write
(pkgname, globaltimes, directory[, ...])Write package to file
write_binary_griddata
(outpath, da, dtype)write_blockfile
(pkgname, globaltimes, ...)write_text_griddata
(outpath, da, dtype)Attributes
auxiliary_data_fields
dataset