File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Docs/sphinx_documentation/source Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,13 @@ the creation of particle initial conditions in parallel. In storing these
4848identifying numbers, 39 bits are devoted to the `id `, allowing approximately 550 billion
4949possible *local * `id ` numbers, and 24 bits are used to store the `cpu `, allowing about 16.8 million
5050unique (MPI) processes.
51- One bit is devoted to mark a particle valid or invalid.
51+
52+ One bit is devoted to mark a particle valid or invalid. This is often used to remove particles from a
53+ simulation. During :cpp: `Redistribute() `, particles with
54+ invalid ids are removed from the simulation by default, although this behavior is customizable. Particles
55+ with invalid ids are also not written out during plotfile writes or checkpoint / restart operations.
56+ The allowed values for :cpp: `p.id() ` are 0 to 2**39, and the allowed values for :cpp: `p.cpu() ` are
57+ 0 to 2**24.
5258
5359To pack and unpack these numbers, one uses the following syntax:
5460
You can’t perform that action at this time.
0 commit comments