Open ajamias opened 1 week ago
Cell list: group particles spatially in a "Rubiks Cube"
I'm thinking that a cell will have the following properties: id: int (this can be the cell list index) particle_list: Particle[N] where $N \stackrel{\text{def}}{=} \texttt{block\_mem} / \texttt{sizeof(Particle)}$ neighboring_cells: Cell[] (if a particle switches cells)
Basically, the size of these lists and structures depend on the hardware parameters
[ ] first consider what information we need
[ ] how to store to exploit GPU memory
can come up with a few options with tradeoffs