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 SetDotMask to anonymous namespace in WarpX.cpp #5644

Conversation

lucafedeli88
Copy link
Member

SetDotMask, a member function of the WarpX class, is only used inside the member function getFieldDotMaskPointer . This PR turns it into a pure function and moves it into an anonymous namespace inside WarpX.cpp.
This (slightly) simplifies the WarpX class header.

@lucafedeli88 lucafedeli88 added the cleaning Clean code, improve readability label Feb 6, 2025
@JustinRayAngus
Copy link
Contributor

These changes look fine to me.

Thanks!

@JustinRayAngus JustinRayAngus merged commit f4ece6e into ECP-WarpX:development Feb 14, 2025
37 checks passed
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