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

Speed up computation of cell vertex indices cache #13930

Merged

Conversation

kronbichler
Copy link
Member

Using a technique similarly to #13924, several vertex indices of a cell can be computed at once (for hexahedral cells). As the function to compute the cell vertex indices cache is visible in profiles, getting a speedup of about a factor of about 4 on this function is nice.

Copy link
Member

@masterleinad masterleinad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it make sense to handle Quadrilaterals in a similar way?

@kronbichler
Copy link
Member Author

kronbichler commented Jun 25, 2022

Does it make sense to handle Quadrilaterals in a similar way?

I agree, that is a good idea. Let me try this.

Edit: Done, it works like a charm.

@kronbichler kronbichler force-pushed the speedup_cell_vertex_indices_cache branch from 9b49838 to 3b27fe5 Compare June 25, 2022 14:16
@marcfehling marcfehling merged commit 9751c95 into dealii:master Jun 28, 2022
@kronbichler kronbichler deleted the speedup_cell_vertex_indices_cache branch June 28, 2022 10:10
mkghadban pushed a commit to OpenFCST/dealii that referenced this pull request Sep 8, 2022
…indices_cache

Speed up computation of cell vertex indices cache
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

4 participants