atomec-project / atoMEC

Python-based average-atom code for simulations of high energy density phenomena such as in warm dense matter.
https://atomec-project.github.io/atoMEC/
BSD 3-Clause "New" or "Revised" License
17 stars 12 forks source link

Dynamic adjustment for chemical potential #157

Closed timcallow closed 2 years ago

timcallow commented 2 years ago

The previous fixed bracket for the chemical potential was failing one of the tests, perhaps due to being too wide. We now start with a smaller bracket and adjust dynamically if no root is found.