Skip to content

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 is interactionrange(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

Merge request reports

Loading