Skip to content

Remove dynamic memory allocation inside tight loops in the Plaza refinement code #3151

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

Merged
merged 19 commits into from
Apr 24, 2024

Conversation

garth-wells
Copy link
Member

@garth-wells garth-wells commented Apr 21, 2024

Resolves #43.

Returns statically allocated data plus the size.

@garth-wells garth-wells force-pushed the garth/plaza-allocation branch from 5ada84a to bedc8af Compare April 21, 2024 15:57
@chrisrichardson chrisrichardson self-requested a review April 22, 2024 10:59
bool compute_parent_cell
= (option == plaza::Option::parent_cell
or option == plaza::Option::parent_cell_and_facet);
bool compute_facets = option == plaza::Option::parent_facet
Copy link
Contributor

Choose a reason for hiding this comment

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

I think I really prefer it with the brackets.

Copy link
Member Author

Choose a reason for hiding this comment

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

Feel free to add back.

@garth-wells garth-wells enabled auto-merge April 24, 2024 16:24
@garth-wells garth-wells added this pull request to the merge queue Apr 24, 2024
Merged via the queue into main with commit d5fb3db Apr 24, 2024
@garth-wells garth-wells deleted the garth/plaza-allocation branch April 24, 2024 20:52
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.

Reduce dynamic memory allocation inside tight loops in PlazaRefinementND
2 participants