milibopp / jelly

Abstraction layer for running numerical hydrodynamics software
1 stars 0 forks source link

Refactoring of ID ranges #52

Closed milibopp closed 10 years ago

milibopp commented 10 years ago

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.

coveralls commented 10 years ago

Coverage Status

Coverage increased (+0.41%) when pulling 2bddd7b6db24292a5738ca5464bd4ef2ec932d04 on refactor/id_ranges into 34bb191799b1ea6ab889f3f24f5ff148a616365b on master.