New boxgrid API
This MR splits the boxgrid constructor into multiple pieces to make custom boxgrids easier to construct. The main userfacing changes are:
- Fewer warnings of well-handled cases (small domains)
- New signatures for construction:
BoxGrid(sim, irange::Float64)
custom interaction range (default isinteractionrange(particletype(sim), sim)
)BoxGrid(sim, nboxes::NTuple{N,Int})
allows you to manually specify the box (user has responsibility to make valid choice)
Edited by Jonas Isensee