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

Setting `nbatches` doesn't work #87

Closed efaulhaber closed 1 year ago

efaulhaber commented 1 year ago
julia> x = zeros(2, 100); box = Box(limits(x, x), 1.0);

julia> cell_list = CellList(x, x, box, nbatches=(1, 1));

julia> cell_list.target.nbatches
  Number of batches for cell list construction: 8
  Number of batches for function mapping: 8
lmiq commented 1 year ago

fixed in version 0.8.17