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

WarpX class: move CheckKnownIssues class to anonymous namespace in WarpXInitData.cpp #5674

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

Conversation

lucafedeli88
Copy link
Member

CheckKnownIssues is only used once in WarpXInitData.cpp and it is implemented in this source file. This PR turns CheckKnownIssues from a member function of the WarpX class to a pure function inside an anonymous namespace in WarpXInitData.cpp. In the process, the function is renamed CheckKnownEMSolverIssues, since this is more descriptive of what the function does.
Elimating CheckKnownIssues from WarpX.H simplifies the interface of the WarpX class.

@lucafedeli88 lucafedeli88 added the cleaning Clean code, improve readability label Feb 14, 2025
@ax3l ax3l self-requested a review February 19, 2025 00:43
@ax3l ax3l self-assigned this Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleaning Clean code, improve readability
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants