m3g / CellListMap.jl

Flexible implementation of cell lists to map the calculations of particle-pair dependent functions, such as forces, energies, neighbor lists, etc.
https://m3g.github.io/CellListMap.jl/
MIT License
87 stars 4 forks source link

Simplify dispatch of UpdateCellList! ? #58

Open lmiq opened 2 years ago

lmiq commented 2 years ago

Maybe multiple dispatch is being abused for UpdateCellLIst!. The code is getting somewhat hard to follow.

Additionally, the parallel flag and the passing of AuxThreaded became in some sense redundant, since parallel=false and the provision of a AuxThreaded preallocated structure does not make sense.

To be studied.