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

ParticleUtils.H: pass geometry as a parameter to findParticlesInEachCell instead on relying on WarpX::GetInstance() #5771

Conversation

lucafedeli88
Copy link
Member

This PR removes the call to WarpX::GetInstance().Geom(lev); inside findParticlesInEachCell. Instead, the geometry is passed as a parameter to the function.

@lucafedeli88 lucafedeli88 added the cleaning Clean code, improve readability label Mar 17, 2025
@ax3l ax3l requested a review from EZoni March 18, 2025 00:02
@EZoni
Copy link
Member

EZoni commented Mar 24, 2025

Thanks, @lucafedeli88.

The PR looks good to me. There are a few conflicts due to recent commits in development. Would you like to fix them? Otherwise I can also try to push a fix. I will enable auto-merge once the conflicts are resolved.

@lucafedeli88
Copy link
Member Author

Thanks, @lucafedeli88.

The PR looks good to me. There are a few conflicts due to recent commits in development. Would you like to fix them? Otherwise I can also try to push a fix. I will enable auto-merge once the conflicts are resolved.

Thanks @EZoni ! I should have fixed the merge conflict.

@lucafedeli88 lucafedeli88 merged commit 3a08fee into BLAST-WarpX:development Mar 25, 2025
36 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