Struggling to get Julia as fast as Matlab mex. (Filling large matrix, doing pairwise calculations over particles)

Can you disregard distances greater than cutoff? If so check: GitHub - m3g/CellListMap.jl: Flexible implementation of cell lists to map the calculations of particle-pair dependent functions, such as forces, energies, neighbour lists, etc.

1 Like