python-hydro / pyro2

A framework for hydrodynamics explorations and prototyping
https://python-hydro.github.io/pyro2
BSD 3-Clause "New" or "Revised" License
303 stars 123 forks source link

derivative bug fix in divu calculation #263

Closed zhichen3 closed 1 week ago

zhichen3 commented 1 week ago

divu in spherical is 1/r^2 d/dr(r^2 * u).