MPI-AMRVAC 3.2
The MPI - Adaptive Mesh Refinement - Versatile Advection Code (development version)
Loading...
Searching...
No Matches
Modules | Functions/Subroutines
mod_eos_FI.t File Reference

Go to the source code of this file.

Modules

module  mod_eos_fi
 FI (fully-ionised, constant-gamma) EoS kernels for the eos% family.
 

Functions/Subroutines

subroutine, public mod_eos_fi::eos_init_fi ()
 get_Te_FI is PRIVATE: bound to eosget_Te inside eos_finalise_FI only. The rest stay public: update_eos_FI (ffhd_phys), get_gamma1_FI (the seam phys_get_gamma1), get_temperature_from_{eint,pressure}_FI (reused by mod_eos_PI), and the init/finalise dispatcher arms.
 
subroutine, public mod_eos_fi::eos_finalise_fi ()
 FI arm of eos_finalise: wire the ideal-gas getter set and the fully-ionised particle counts (2 + 3*A_He per H; ne/nH = 1 + 2*A_He). No tables to load.
 
subroutine, public mod_eos_fi::update_eos_fi (ixil, ixol, w, x)
 FI update_eos: nothing to cache for an ideal gas. Called each RK substep.
 
subroutine, public mod_eos_fi::get_gamma1_fi (w, x, ixil, ixol, gamma1)
 Gamma_1 for the fully-ionised ideal gas: constant eosgamma.
 
subroutine, public mod_eos_fi::get_temperature_from_eint_fi (w, x, ixil, ixol, res)
 Temperature from internal energy, fully-ionised ideal gas: T = pth/(rho*R).
 
subroutine, public mod_eos_fi::get_temperature_from_pressure_fi (w, x, ixil, ixol, res)
 FI temperature from primitive pressure: T = p / (R * rho). w is PRIMITIVE here, so iw_e holds the thermal pressure. Lives in the EoS so hd and mhd share one routine (replaces the orphaned, never-called hd_get_temperature_from_prim that used to sit in mod_hd_phys).