This PR introduces abstracted ID ranges, which are used to assign IDs to cells. This behaviour is now seperated from the actual generation of initial conditions to allow user code to transparently interact with the generated IDs.
This is useful to extract IDs of particular cells in less intrusive ways than setting extra attributes of the cells. It also generalizes the ID generation and allows to build custom ID generation schemes that differ from the defaults.
Coverage increased (+0.41%) when pulling 2bddd7b6db24292a5738ca5464bd4ef2ec932d04 on refactor/id_ranges into 34bb191799b1ea6ab889f3f24f5ff148a616365b on master.
This PR introduces abstracted ID ranges, which are used to assign IDs to cells. This behaviour is now seperated from the actual generation of initial conditions to allow user code to transparently interact with the generated IDs.
This is useful to extract IDs of particular cells in less intrusive ways than setting extra attributes of the cells. It also generalizes the ID generation and allows to build custom ID generation schemes that differ from the defaults.