-
|
https://amrex-codes.github.io/amrex/docs_html/Particle.html writes that .id and .cpu are integers, can their type be customized? |
Beta Was this translation helpful? Give feedback.
Answered by
atmyers
Nov 5, 2025
Replies: 1 comment
-
|
The type can't be customized, but actually that comment is out of date. I'm in the process of updating the particle documentation now. Currently, a single 64-bit integer is used to store both id and cpu. 40 bits are used for the id and 24 for the cpu. This allows approximately 16.8 million unique cpu numbers, with 550 billion unique particle ids each. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
iljah
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The type can't be customized, but actually that comment is out of date. I'm in the process of updating the particle documentation now. Currently, a single 64-bit integer is used to store both id and cpu. 40 bits are used for the id and 24 for the cpu. This allows approximately 16.8 million unique cpu numbers, with 550 billion unique particle ids each.