SWIFT saves some particles outside of the specified domain.
Sometimes a particle ends up being saved into a snapshot outside of the bounds of the simulation. Is this a known bug?
Example hdf5 file: out_of_box.hdf5 (4.6M).
Take a look at the following ParticleIDs: 64500, 63987, 64243, 64499, 64756, 65267, 65013, 65012, 65269, 65268, 65011, 64755, 257, 258, 259, 513, 514, 0, 256, 512, 768, 1, 2, 3, 260, 4, 5, 6
These are also particles: 4934, 4987, 5009, 5049, 5050, 5099, 5114, 5115, 5118, 5119, 5120, 5122, 9240, 9241, 9242, 9243, 9247, 9249, 9250, 9251, 9252, 9257, 9258, 9259, 9612, 9707, 9708, 9709 in the file.
This is an issue for some plotting frameworks (e.g. I know yt
does not like particles out of the box).