Refactor DEFAULTS & fix bugs concerning data types of spatial counter symbols
- Remove genericity from
pystencils.DEFAULTS, use TypedSymbols only - Use
DynamicType.INDEX_TYPEin counter symbols - Fix a bug where the
SparseIterationSpacedeclared the spatial countersconst, leading to a type conflict with the non-const counters inDEFAULTS - Add test cases for usage of spatial counters in dense and sparse kernels
- On the side: Add
py.typedto facilitate type checking in downstream projects (why was this missed for so long?)