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

p4est_search: fix to pass true quadrant #234

Merged
merged 1 commit into from
Aug 30, 2023
Merged

Conversation

cburstedde
Copy link
Owner

In the relatively new function p4est_search_reorder, we accept a parameter to switch level skipping on or off as an optimization. If on and only a single leaf is contained in a search quadrant, we directly skip down to the leaf as next quadrant to consider.

We fix the bug that the quadrant was not real when skipping was off.

In the relatively new function p4est_search_reorder, we accept
a parameter to switch level skipping on or off as an optimization.
If on and only a single leaf is contained in a search quadrant,
we directly skip down to the leaf as next quadrant to consider.

We fix the bug that the quadrant was not real when skipping was off.
@cburstedde
Copy link
Owner Author

Any other comments on search_reorder?

@hannesbrandt
Copy link
Collaborator

This looks good to @tim-griesbach and me!

@cburstedde cburstedde merged commit ae8c254 into master Aug 30, 2023
38 checks passed
@cburstedde cburstedde deleted the fix-search-reorder branch August 30, 2023 14:27
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