The developer of https://github.com/m3g/CellListMap.jl (@lmiq / @m3g) points out that vdw_energy is potentially inefficient if applied repeatedly to collections of unchanging coordinates. It may be worth working these CellListPair objects in to the simulation code, such that pairwise distances are updated on-demand. Food for thought.
The developer of https://github.com/m3g/CellListMap.jl (@lmiq / @m3g) points out that
vdw_energy
is potentially inefficient if applied repeatedly to collections of unchanging coordinates. It may be worth working theseCellListPair
objects in to the simulation code, such that pairwise distances are updated on-demand. Food for thought.