Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to disable masering workaround in documentation #256

Closed
ThomasCeulemans opened this issue May 28, 2024 · 0 comments · Fixed by #257
Closed

Add option to disable masering workaround in documentation #256

ThomasCeulemans opened this issue May 28, 2024 · 0 comments · Fixed by #257
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@ThomasCeulemans
Copy link
Collaborator

In solver.tpp::correct_negative_opacities, we apply a somewhat hardhanded fix to the level populations in order to avoid population inversions (in order to avoid very low/negative opacities and optical depths later on, which our numerical solver cannot handle. We do however offer some parameter to tweak this behavior: (see parameters.hpp::population_inversion_fraction). This value can be set to -1 (or any negative number) to skip this fix.

Evidently, I should add this info to the documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant