|
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_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 (log_nh_code, log_e_nh_code) |
| Public lookups, code units in and out. Forward tables are on (log nH, log eint/nH), eintP and g1p on (log nH, log p/nH), eintT on (log nH, log T). | |
| pure double precision function, public | mod_eos_lte_entropy::entropy_p_nh_from_eint (log_nh_code, log_e_nh_code) |
| pure double precision function, public | mod_eos_lte_entropy::entropy_p_from_eint (log_nh_code, log_e_nh_code) |
| Pressure in code units from (log nH, log eint/nH); the pfwd table holds p itself. | |
| double precision function, public | mod_eos_lte_entropy::entropy_y_from_nh_eint (log_nh_code, log_e_nh_code) |
| subroutine, public | mod_eos_lte_entropy::entropy_t_and_y_from_nh_eint (log_nh_code, log_e_nh_code, t_code, y_out) |
| T and ne/nH at one point: Tfwd and neOnH share the forward grid, so the cell location and the basis are computed once. | |
| double precision function, public | mod_eos_lte_entropy::entropy_eint_from_nh_p (log_nh_code, log_p_nh_code) |
| eint/p in code units from (log nH, log p/nH). The table holds log10(eint/nH) in CGS | |
| subroutine, public | mod_eos_lte_entropy::entropy_eint_from_p_bisect (log_nh_code, log_p_nh_code, log_eint_nh_code) |
| Bisection inverse: log10(eint/nH) [code] such that the forward pressure matches p exactly; the eintP table only supplies the initial guess. | |
| double precision function, public | mod_eos_lte_entropy::entropy_gamma1_from_nh_p (log_nh_code, log_p_nh_code) |
| double precision function, public | mod_eos_lte_entropy::entropy_eint_from_nh_t (log_nh_code, log_t_code) |
| log10(eint/nH) in code units from (log nH, log T); the table holds it in CGS | |