This should check off the last item on the list of #5877. I added a test that quantitatively shows the load balancing is done correctly. By controlling the number of cells in the different parts of a domain and the weight of particles of the two particle worlds I can split the domain in exactly the pattern I want:
Red/Blue cells show the parallel partition between the two MPI ranks, green/pink dots show the particles of the two particle worlds. Both parallel domain have a combined weight of 96.000 (n_cells1000 + n_particles particle_weight).
This should check off the last item on the list of #5877. I added a test that quantitatively shows the load balancing is done correctly. By controlling the number of cells in the different parts of a domain and the weight of particles of the two particle worlds I can split the domain in exactly the pattern I want:
Red/Blue cells show the parallel partition between the two MPI ranks, green/pink dots show the particles of the two particle worlds. Both parallel domain have a combined weight of 96.000 (n_cells1000 + n_particles particle_weight).