pub fn gpu_neighbor_list(grid: &GpuSphGrid, cell_size: f64) -> Vec<Vec<usize>>Expand description
Build a cell-list neighbor search structure.
Divides the simulation domain [min_x, max_x]³ into cubic cells of
size cell_size. Returns, for each particle i, the list of neighbour
indices within 2 * cell_size.
Returns a Vec<Vecusize> where entry i holds the neighbours of
particle i.