|
MPI-AMRVAC 3.2
The MPI - Adaptive Mesh Refinement - Versatile Advection Code (development version)
|
Go to the source code of this file.
Modules | |
| module | mod_eos_shared_functions |
| Shared EoS accessors (EoS-type-agnostic) for the eos% family. | |
Functions/Subroutines | |
| subroutine, public | mod_eos_shared_functions::get_rho (w, x, ixil, ixol, rho) |
| Mass density (code units). | |
| subroutine, public | mod_eos_shared_functions::get_nh (w, x, ixil, ixol, nh) |
| Hydrogen number density: nH = rho / nH2rhoFactor. | |
| subroutine, public | mod_eos_shared_functions::get_ne_nh (ixil, ixol, w, ne, nh) |
| Return electron and hydrogen number densities in code units. For LTE (iw_ne allocated): ne from Saha EoS, nH from rho/nH2rhoFactor. For FI (iw_ne not allocated): ne = nH * neOnH_FI (full ionisation). | |
| subroutine, public | mod_eos_shared_functions::get_temperature_from_etot (w, x, ixil, ixol, res) |
| Temperature from the TOTAL energy: strip kinetic (+magnetic) energy via phys_e_to_ei, then delegate to the type-specific eosget_temperature_from_eint. | |
| double precision function, public | mod_eos_shared_functions::eos_get_log_t_floor () |
| Lower log10(T) bound for the (rho,T) inverse table; FI (no tables) floors at log10(smalldouble). Used by the TC fluid-port log_T_floor. | |