Migrating multiple ParticleContainers to use runtime components #5407
-
|
I am trying to convert Quokka from having many ParticleContainers with However, it appears that Would it work better if we used our own internal counter per-container? It looks like the particle checkpoints depend on the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
That is the intended design. However, you're allowed to set the particle ids however you like, including having them be non-unique if that's you want. Checkpoints store the |
Beta Was this translation helpful? Give feedback.
That is the intended design. However, you're allowed to set the particle ids however you like, including having them be non-unique if that's you want. Checkpoints store the
NextID()so that it will always return a unique value across all ranks, but you don't have to use that function in Quokka. The only thing that matters from an AMReX perspective is whether the ids register as valid or not.