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

Adjust expectations in a GridTools::get_coarse_mesh_description(). #15802

Merged
merged 1 commit into from Aug 2, 2023

Conversation

bangerth
Copy link
Member

Chipping away at the test failures in #15689: GridTools::get_coarse_mesh_description() makes the assumption that the vertices of level 0 of the mesh are contiguous, starting at index 0. That's currently true: A mesh has to be created with level 0, and so these vertices are the first ones that exist and never removed or renumbered. But #15689 wants to renumber them, and I'm taking this as an opportunity to remove this assumption from the function. At some point in the function, we have to shrink the vertices array to just the ones we really care; currently, this happens at the very top in a hand-rolled loop, but we can also do that once everything is set up, using another GridTools function that already exists for exactly this purpose: GridTools::delete_unused_vertices().

@Rombur Rombur merged commit 7eddd89 into dealii:master Aug 2, 2023
15 checks passed
@bangerth bangerth deleted the x4 branch August 6, 2023 11:54
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.

None yet

2 participants