Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

WarpX class: move StoreCurrent and RestoreCurrent to anonymous namespace inside WarpXEvolve.cpp #5747

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

lucafedeli88
Copy link
Member

StoreCurrent and RestoreCurrent are only used once inside WarpXEvolve.cpp. Therefore, this PR removes them from the header of the WarpX.H class and moves them to an anonymous namespace inside WarpXEvolve.cpp.

@lucafedeli88 lucafedeli88 added the cleaning Clean code, improve readability label Mar 10, 2025
@ax3l ax3l self-requested a review March 10, 2025 23:10
@ax3l ax3l self-assigned this Mar 10, 2025
@ax3l ax3l added the component: core Core WarpX functionality label Mar 10, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
cleaning Clean code, improve readability component: core Core WarpX functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants