modflowpy / flopy

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

Fix problem with get_structured_faceflows #2192

Closed vincentpost closed 4 months ago

vincentpost commented 4 months ago

This branch fixes a bug in get_structured_faceflows (introduced in PR #1968) that caused flf to become 0 for cells for which the cell below has idomain -1. Also includes a new test for it in test_postprocessing.py