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: do_multi_J and do_multi_J_n_depositions no longer static #5623

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

Conversation

lucafedeli88
Copy link
Member

This PR turns the static variables of the WarpX class do_multi_J and do_multi_J_n_depositions into private member variables (also adding the prefix m_).
This PR contributes to make the WarpX class less static.

@lucafedeli88 lucafedeli88 added the cleaning Clean code, improve readability label Jan 31, 2025
@lucafedeli88 lucafedeli88 requested a review from EZoni January 31, 2025 09:47
@EZoni
Copy link
Member

EZoni commented Jan 31, 2025

Yes, we are hopefully going to be renaming and simplifying these in #5229. I'll try to see which one goes first.

@lucafedeli88
Copy link
Member Author

Yes, we are hopefully going to be renaming and simplifying these in #5229. I'll try to see which one goes first.

Ok! We can wait and see if this PR will still be relevant after the refactoring.

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