Magritte-code / Magritte

A modern software library for simulating radiation transport.
https://magritte.readthedocs.io
GNU General Public License v3.0
17 stars 12 forks source link

The LTE setting of masering lines now happens in a while loop #253

Closed ThomasCeulemans closed 9 months ago

ThomasCeulemans commented 9 months ago

It appears that previous attempts at filtering out population inversion forgot to set some levels to LTE, due to only doing a single pass over all populations. To make sure this is fixed, the following heavy-handed approach has been used:

ThomasCeulemans commented 9 months ago

Note to self: also check if Ng-acceleration could cause some additional issues. Edit: Ng-acceleration seems to have no bad influence on the convergence