MPI-AMRVAC 3.2
The MPI - Adaptive Mesh Refinement - Versatile Advection Code (development version)
Loading...
Searching...
No Matches
mod_eos_lte_saha.t File Reference

Go to the source code of this file.

Modules

module  mod_eos_lte_saha
 Analytic hydrogen Saha EoS with neutral helium (eos_method == 'analytic').

Functions/Subroutines

subroutine, public mod_eos_lte_saha::load_analytic_lte ()
 Analytic-method load: no binary tables (on-the-fly Saha solve); just announce the method.
subroutine, public mod_eos_lte_saha::finalise_analytic_lte ()
 Analytic-method finalise: no table unit conversion needed; build the Gamma1 table only for 'exact' mode, then the shared FI-bypass constants.
double precision function, public mod_eos_lte_saha::saha_eint_from_nh_t (nh_code, t_code)
 eint/nH from Saha at (nH, T), in code units
subroutine, public mod_eos_lte_saha::saha_state_from_nh_p (nh_code, p_code, t_out, y_out, eint_nh_out)
 Given (nH, p) in code units, T, y and optionally eint/nH: bisection on p = nH*(1+He+y(T))*T, with kB absorbed in the code units.
subroutine, public mod_eos_lte_saha::saha_t_from_nh_eint (nh_code, eint_nh_code, t_out, y_out)
 Temperature and ionisation fraction from (nH, eint/nH) in code units, by bisection.