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

Add a batch callback version to p4est_search_reorder #247

Open
cburstedde opened this issue Oct 9, 2023 · 0 comments
Open

Add a batch callback version to p4est_search_reorder #247

cburstedde opened this issue Oct 9, 2023 · 0 comments

Comments

@cburstedde
Copy link
Owner

Consider a batch-oriented callbock in search

The t8code folks report massive speedups in search when the callback is not executed per point but with an array that contains all currently active points. It would not be difficult to add p4est_search_batch as an extension of p4est_search_all, using the latest code from search_reorder, partition_gfp (note to self: progress #196) and a new callback design. We might still provide a Boolean parameter to the function to execute it with one point at a time, using the same call convention but with a 1-element array each time.

Opinions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant