Diagnostics : EM fields on particles#5637
Open
grobertdautun wants to merge 147 commits into
Open
Conversation
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
…rpX into diags_em_on_particles_2
ax3l
reviewed
Feb 4, 2025
lucafedeli88
reviewed
Feb 5, 2025
lucafedeli88
reviewed
Feb 5, 2025
lucafedeli88
reviewed
Feb 5, 2025
lucafedeli88
reviewed
Feb 5, 2025
for more information, see https://pre-commit.ci
Co-authored-by: Luca Fedeli <luca.fedeli.88@gmail.com>
Co-authored-by: Luca Fedeli <luca.fedeli.88@gmail.com>
Co-authored-by: Luca Fedeli <luca.fedeli.88@gmail.com>
…stics.json Update checksum using result obtained by github runner (I get the same on my local machine)
…en both fields are requested
…rpX into diags_em_on_particles_2
for more information, see https://pre-commit.ci
Member
|
Is anybody planning to work on this PR? |
Contributor
Author
|
Hi @aeriforme , thanks for offering to work on this PR. I updated it and it is now ready for review. |
RemiLehe
pushed a commit
that referenced
this pull request
Oct 9, 2025
While updating #5637 for review, I reached a `maybe uninitialized` error in the CI tests This PR updates the `FieldGather.H` file to initialize the affected variables (and the other similar ones just in case)
for more information, see https://pre-commit.ci
…WarpXParticleContainer::Base Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…es_2 # Conflicts: # Docs/source/usage/parameters.rst # Source/Diagnostics/ParticleDiag/ParticleDiag.H # Source/Diagnostics/ParticleDiag/ParticleDiag.cpp # Source/Diagnostics/ParticleIO.cpp # Source/Particles/ParticleIO.H
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR implements the options
ExEyEzBxByandBzon the particles diagnostics to output the electromagnetic fields seen by the particles.I added a test case
test_2d_particle_EM_diagnosticswith its analysis. This case represents a single particle fixed in a box traversed by a laser pulse, and the analysis verifies that the fields are matching the theoretical ones.There are two limitations to this diagnostics that should be updated later :
getExternalEBFieldtemplate