I have observed that the software brings the number of particles to 512,1024,2048, etc which are in 2^n terms if we enter high number of particles such as 1000,2000, etc.
Is there any specific reason for that? Why it is converging to 2^n number of particles?
Particles are currently created by splitting existing particles. On each split level each particle splits into two. So they will always be a power of 2. The particle number setting is currently a threshold rather than an exact target number. In the future, we could investigate partial splitting strategies to target a specific number of particles.