Previous | Next --- Slide 62 of 64
Back to Lecture Thumbnails
Holladay

I am having trouble parsing "Particle index array permuted based on sort" in step 2. Would someone mind elaborating on that? Thank you!

adilets

So each particle in particle_index has a corresponding cell in grid_index, after grid_index is sorted particle_index is permuted in such a way that each particle in particle_index still corresponds to its own cell but all particles that correspond to the same cell are sorted.