modflowpy / flopy

A Python package to create, run, and post-process MODFLOW-based models.
https://flopy.readthedocs.io
Other
506 stars 306 forks source link

refactor(binarygrid_util): refactor get_iverts to be general #2230

Closed langevin-usgs closed 2 months ago

langevin-usgs commented 2 months ago

The get_iverts() method can work without knowing the grid type. The PR uses the shape of iavert rather than grid properties so that the method works for any grid type, including new ones just added for ongoing surface water model development.