Add entropy variable to MHD equilibria
Bug description / feature request:
The MHDequilibrium
class provide callables to initialize MHD variable in the set of variables (\rho, u, p)
while VariationalMHD
uses variables (\rho, u, s)
. I should add callables to the entropy by using the formula :
s = \rho log(\frac{p}{(\gamma-1)\rho^{\gamma}})
Expected behavior:
Being able to initialize an MHD equilibrium using the entropy variable.
Proposed solution:
Add s0
and s3
methods to the MHDequilibrium
class.