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

OutputParticles work #339

Merged
merged 49 commits into from
Aug 30, 2024
Merged

OutputParticles work #339

merged 49 commits into from
Aug 30, 2024

Conversation

germasch
Copy link
Contributor

Besides general cleanup / modernization and preparation for output formats other than HDF5 (ie., ADIOS2), this adds the capability to select a subset of particles to be written. For now, other than selecting all particles, a simple ParticleSelectorEveryNth<N> is provided to cut down on the number of particles written.

germasch and others added 30 commits August 29, 2024 12:18
So that they are in different cells.
Fortunately they were swapped throughout, so very confusing but not an
actual bug...
should work on 2 MPI procs now, too.
The goal being to have the hdf5 specific stuff in one place
That will eventually do all HDF5 specific writing
so that it's persistent and can, next, take care of creating the
hdf5 particle type
So we don't need to keep passing this otherwise redundant info around.
Since we already know how many particles we have on a proc.
The number of particles is arr.size()
This particle selector decides whether to include a given particle in the
output. Other than the trivial ParticleSelectorAll,
ParticleSelectorEveryNth<N> is provided ot select every nth particle.
@germasch germasch merged commit 62b350c into psc-code:main Aug 30, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant