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

add break and return value if a conditions is found #25

Open lmiq opened 2 years ago

lmiq commented 2 years ago

This can be useful for a self-avoiding random walk simulation, for example.

See here: https://discourse.julialang.org/t/celllistmap-jl-is-it-suitable-for-detecting-collision-of-particles/