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

Small improvement to RemotePointEvaluation #16895

Merged
merged 1 commit into from
Apr 19, 2024

Conversation

kronbichler
Copy link
Member

This is just a small change to make sure the compiler does not need to re-load some pointers during a loop. I think it also leads to nicer code inside the loop as a side effect, but that might be debatable.

@peterrum
Copy link
Member

The tests are not passing anymore.

@kronbichler
Copy link
Member Author

I had to make sure to only set the pointers in case we have the data at the present rank. I used this opportunity to specialize the loops into two cases, saving another if condition in the inner loop.

@kronbichler kronbichler merged commit 838b416 into dealii:master Apr 19, 2024
16 checks passed
@kronbichler kronbichler deleted the fix_rpe branch April 19, 2024 06:54
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