Skip to content

Fix 2006 bug with refinement within ES::reinit() #2100

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

Merged
merged 1 commit into from
Apr 10, 2019

Conversation

roystgnr
Copy link
Member

@roystgnr roystgnr commented Apr 9, 2019

This was part of a half-baked attempt to support both "refine and
coarsen prior to EquationSystems::reinit for CPU efficiency" and
"refine and coarsen only within EquationSystems::reinit for memory
efficiency" idioms, but the latter support was seriously broken.

The "optimization" being removed here didn't actually optimize any use cases, but did break some.

This is another unrelated bug caught by the unit tests I'm working on for #1938.

This was part of a half-baked attempt to support both "refine and
coarsen prior to EquationSystems::reinit for CPU efficiency" and
"refine and coarsen only within EquationSystems::reinit for memory
efficiency" idioms, but the latter support was seriously broken.
@jwpeterson
Copy link
Member

👍 looks like a good candidate for backporting to v1.4.1 (#2029) as well.

@roystgnr
Copy link
Member Author

Agreed; clearly nobody is actually using this capability heavily but it would be nice to have it work, it fails in confusing ways when it doesn't work, and it's a really simple fix.

@roystgnr roystgnr merged commit 3584095 into libMesh:master Apr 10, 2019
@roystgnr roystgnr deleted the fix_2006_bug branch April 10, 2019 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants