magic-sph / magic

MagIC is a high-performance code that solves the magneto-hydrodynamics equations in rotating spherical shells
https://magic-sph.github.io/
80 stars 25 forks source link

MagIC gives spurious solution when n_r_max=n_cheb_max #10

Closed tgastine closed 6 years ago

tgastine commented 6 years ago

This likely has to do with an error in the recurrence relation used in the calculation of the derivatives.

tgastine commented 6 years ago

Fixed in 8aa5bc0ab429103de4180d26bb24e0be7f239a33