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

fix(prt): don't reset transform in subcell rect method #2131

Merged
merged 1 commit into from
Jan 8, 2025

Conversation

wpbonelli
Copy link
Contributor

@wpbonelli wpbonelli commented Jan 8, 2025

#2066 introduced a bug where particle coordinates were prematurely transformed back from cell-local coords to model coords. This produced incorrect particle positions within quad-refined cells and cells adjacent to a quad-refined cell.

See e.g. https://modflow6-examples.readthedocs.io/en/master/_notebooks/ex-prt-mp7-p04.html.

@wpbonelli wpbonelli added this to the 6.6.1 milestone Jan 8, 2025
@wpbonelli wpbonelli added the bug label Jan 8, 2025
@wpbonelli wpbonelli marked this pull request as ready for review January 8, 2025 23:45
@wpbonelli wpbonelli merged commit 2445835 into MODFLOW-USGS:develop Jan 8, 2025
20 checks passed
@wpbonelli wpbonelli deleted the prt-fix branch January 8, 2025 23:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant