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

solve_bicgstab: eliminate use of rho_1 #3624

Closed

Conversation

eebasso
Copy link
Contributor

@eebasso eebasso commented Nov 13, 2023

Summary

Eliminate use of rho_1 and cut one division operation from the calculation of beta.

@WeiqunZhang
Copy link
Member

This division is outside any loops over cells. Its cost is tiny compared to all the MultiFab level works we have to do in the solver. I am not sure a tiny optimization like this is worth the time we have to spend on making sure the code does not break.

@eebasso eebasso closed this Nov 17, 2023
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.

None yet

2 participants