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

openPMD: Fix Particle Weight Dims in 1D/2D #4717

Merged
merged 3 commits into from
Feb 27, 2024

Conversation

ax3l
Copy link
Member

@ax3l ax3l commented Feb 22, 2024

Weighting of a macro particle is a count in 3D and RZ sims, but a count per line in 2D and a count per surface in 1D.

This reflects this now in the weighting attribute unitDimensions.

Weighting of a macro particle is a count in 3D and RZ sims,
but a count per line in 2D and a count per surface in 1D.

This reflects this now in the `weighting` attribute
`unitDimensions`.
@ax3l ax3l added bug Something isn't working component: openPMD openPMD I/O bug: affects latest release Bug also exists in latest release version geometry: 1D/2D Lower-dimensional Cartesian specific labels Feb 22, 2024
@ax3l ax3l added the component: diagnostics all types of outputs label Feb 22, 2024
@ax3l ax3l changed the title openPMD: Fix Particle Weight Dims openPMD: Fix Particle Weight Dims in 1D/2D Feb 22, 2024
@RemiLehe RemiLehe enabled auto-merge (squash) February 23, 2024 23:09
@ax3l ax3l disabled auto-merge February 27, 2024 00:12
@ax3l ax3l merged commit ac2e649 into BLAST-WarpX:development Feb 27, 2024
11 checks passed
@ax3l ax3l deleted the fix-weight-dims branch February 27, 2024 00:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug: affects latest release Bug also exists in latest release version bug Something isn't working component: diagnostics all types of outputs component: openPMD openPMD I/O geometry: 1D/2D Lower-dimensional Cartesian specific
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants