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

Go to the source code of this file.

Modules

module  mod_eos_lte_entropy
 Entropy-method LTE EoS: every query is ONE bicubic Hermite evaluation.
 

Functions/Subroutines

subroutine, public mod_eos_lte_entropy::load_entropy_lte ()
 Forward (log nH, log eint/nH) -> thermodynamic state.
 
subroutine, public mod_eos_lte_entropy::finalise_entropy_lte ()
 Entropy-method finalise: shift each loaded table's axes from CGS to code units and run the standard prepare. No aux builds – every runtime quantity is a single Hermite lookup. neOnH/Tfwd/pfwd/eintP/g1p are on (log nH, log eint/nH) (axis2_is_T=.false.); eintT is on (log nH, log T) (axis2_is_T=.true.). Each quantity ships value + three derivative tables.
 
double precision function, public mod_eos_lte_entropy::entropy_t_from_nh_eint (tfwd, tfwd_x, tfwd_y, tfwd_xy, log_nh_code, log_e_nh_code)
 Public wrappers – code-unit out.
 
pure double precision function, public mod_eos_lte_entropy::entropy_p_nh_from_eint (pfwd, pfwd_x, pfwd_y, pfwd_xy, log_nh_code, log_e_nh_code)
 
double precision function, public mod_eos_lte_entropy::entropy_y_from_nh_eint (neonh, neonh_x, neonh_y, neonh_xy, log_nh_code, log_e_nh_code)
 Forward: ne/nH from (log nH, log eint/nH). Single bicubic Hermite eval of the neOnH table.
 
subroutine, public mod_eos_lte_entropy::entropy_t_and_y_from_nh_eint (tfwd, tfwd_x, tfwd_y, tfwd_xy, neonh, neonh_x, neonh_y, neonh_xy, log_nh_code, log_e_nh_code, t_code, y_out)
 Forward: T and y from (log nH, log eint/nH) – combined for the update_eos_LTE hot path that needs both at once.
 
double precision function, public mod_eos_lte_entropy::entropy_eint_from_nh_p (eintp, eintp_x, eintp_y, eintp_xy, log_nh_code, log_p_nh_code)
 Inverse: log10(eint/nH) from (log nH, log p/nH). Single bicubic Hermite eval of the eintP table. Replaces p2eint bisection.
 
double precision function, public mod_eos_lte_entropy::entropy_gamma1_from_nh_p (g1p, g1p_x, g1p_y, g1p_xy, log_nh_code, log_p_nh_code)
 Inverse: Gamma_1 from (log nH, log p/nH). Bicubic Hermite of g1p.
 
double precision function, public mod_eos_lte_entropy::entropy_eint_from_nh_t (eintt, eintt_x, eintt_y, eintt_xy, log_nh_code, log_t_code)
 Inverse: log10(eint/nH) from (log nH, log T). Single bicubic Hermite eval of the eintT table.