Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(disu-idomain): write idomain to binary grid file for disu models #2144

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

langevin-usgs
Copy link
Contributor

The binary grid file written by MODFLOW 6 for DISU models did not include the IDOMAIN array. The binary grid file now includes IDOMAIN for all discretization types, including DISU.

Checklist of items for pull request

  • Replaced section above with description of pull request
  • Added new test or modified an existing test
  • Ran ruff on new and modified python scripts in .doc, autotests, doc, distribution, pymake, and utils subdirectories.
  • Formatted new and modified Fortran source files with fprettify
  • Updated develop.tex with a plain-language description of the bug fix, change, feature; required for changes that may affect users
  • Updated input and output guide
  • Removed checklist items not relevant to this pull request

For additional information see instructions for contributing and instructions for developing.

@wpbonelli wpbonelli merged commit a8347e6 into MODFLOW-ORG:develop Jan 16, 2025
18 of 20 checks passed
@langevin-usgs langevin-usgs deleted the feat-disu-idomain branch January 16, 2025 19:26
wpbonelli added a commit that referenced this pull request Jan 18, 2025
Check that models connected to a flow model by an exchange have an idomain identical to the flow model's idomain. This is an easy error to make, and (up to now) hard to detect.

I only added a test for PRT for now. The logic is identical in GWT and GWE.

#2144 facilitates adding the same check for flow model interface. That will be done in a separate PR since it deserves a separate release note.
@wpbonelli wpbonelli added this to the 6.6.1 milestone Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants