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

Begin contains_vertex_of with node equality tests #2942

Merged
merged 1 commit into from
Jun 14, 2021

Conversation

roystgnr
Copy link
Member

This can be a little slower when testing 2-level-different AMR neighbors
and/or non-neighbors, but the extra speed when testing most neighbors
seems to make it a big win in my benchmarks.

Hoping @fdkong will see whether this gives him much improvement with his own distributed mesh refinement cases.

This can be a little slower when testing 2-level-different AMR neighbors
and/or non-neighbors, but the extra speed when testing most neighbors
seems to make it a big win in my benchmarks.
@roystgnr
Copy link
Member Author

Finally tried this out with one of the tests Fande recommended for me, and it makes DistributedMesh refinement about 150% (2.5x) faster in that one. Still not nearly fast enough for us to consider the problem solved and done with, but too good not to merge in the meantime.

@roystgnr roystgnr merged commit df1925b into libMesh:master Jun 14, 2021
@roystgnr roystgnr deleted the point_neighbor_short_circuit branch June 14, 2021 21:03
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.

1 participant