geodynamics / burnman

BurnMan is a library for modeling mantle thermodynamics and thermoelasticity constrained by mineral physics experiments.
https://geodynamics.github.io/burnman/
GNU General Public License v2.0
54 stars 41 forks source link

added relaxed solutions #582

Closed bobmyhill closed 7 months ago

bobmyhill commented 7 months ago

This PR adds new Solution classes that internally minimize the Gibbs energy over user-defined compositional vectors. This can be useful, for example, to determine the equilibrium state of order in a phase, or the relative amounts of high and low spin iron.

Second derivatives of the Gibbs energy are recalculated to take the relaxation into account.