zwicker-group / py-pde

Python package for solving partial differential equations using finite differences.
https://py-pde.readthedocs.io
MIT License
410 stars 52 forks source link

Made definition of cell coordinates more precise #467

Closed david-zwicker closed 1 year ago

david-zwicker commented 1 year ago

Two different versions of cell coordinates have been used where integral coordinates either refer to the cell center or it's left edge. We now define cell coordinates to use the latter, since then the integral part denotes the cell, while the fractional part denotes the position within the cell.

This change might break other packages downstream, so we will release a new version of the package soon.