Equation of State general functions. More...
#include "decs.h"
#include "coldeos.c"
#include "idealgaseos.c"
#include "mignoneeos.c"
#include "grbpwf99eos.c"
#include "kazfulleos.c"
Go to the source code of this file.
Macros | |
#define | OLDCALC 0 |
Functions | |
FTYPE | pressure_rho0_u (int whicheos, FTYPE *EOSextra, FTYPE rho0, FTYPE u) |
p(rho0, u) (needed to get initial guess for W) More... | |
FTYPE | u_rho0_p (int whicheos, FTYPE *EOSextra, FTYPE rho0, FTYPE p) |
u(rho0, p) (used for initial conditions) More... | |
FTYPE | u_rho0_T (int whicheos, FTYPE *EOSextra, FTYPE rho0, FTYPE T) |
u(rho0, T) (used for initial conditions) More... | |
FTYPE | dpdu_rho0_u (int whicheos, FTYPE *EOSextra, FTYPE rho0, FTYPE u) |
dp(rho0, u)/du More... | |
FTYPE | dpdrho0_rho0_u (int whicheos, FTYPE *EOSextra, FTYPE rho0, FTYPE u) |
dp(rho0, u)/drho0 More... | |
FTYPE | cs2_compute (int whicheos, FTYPE *EOSextra, FTYPE rho0, FTYPE u) |
sound speed squared (for vchar.c) More... | |
FTYPE | compute_dSdrho (int whicheos, FTYPE *EOSextra, FTYPE rho0, FTYPE u) |
used for dudp_calc More... | |
FTYPE | compute_dSdu (int whicheos, FTYPE *EOSextra, FTYPE rho0, FTYPE u) |
used for dudp_calc More... | |
FTYPE | compute_specificentropy_wmrho0 (int whicheos, FTYPE *EOSextra, FTYPE rho0, FTYPE wmrho0) |
specific entropy as function of rho0 and internal energy (wmrho0) specificS(rho0,wmrho0) More... | |
FTYPE | compute_dspecificSdrho_wmrho0 (int whicheos, FTYPE *EOSextra, FTYPE rho0, FTYPE wmrho0) |
used for utoprim_jon entropy inversion More... | |
FTYPE | compute_dspecificSdwmrho0_wmrho0 (int whicheos, FTYPE *EOSextra, FTYPE rho0, FTYPE wmrho0) |
used for utoprim_jon entropy inversion More... | |
FTYPE | pressure_wmrho0 (int whicheos, FTYPE *EOSextra, FTYPE rho0, FTYPE wmrho0) |
p(rho0, w-rho0 = u+p) More... | |
FTYPE | compute_idwmrho0dp (int whicheos, FTYPE *EOSextra, FTYPE rho0, FTYPE wmrho0) |
1 / (d(u+p)/dp) holding rho0 fixed More... | |
FTYPE | compute_idrho0dp (int whicheos, FTYPE *EOSextra, FTYPE rho0, FTYPE wmrho0) |
1 / (drho0/dp) holding wmrho0 fixed More... | |
FTYPE | compute_qdot (int whicheos, FTYPE *EOSextra, FTYPE rho0, FTYPE u) |
radiation rate More... | |
void | compute_EOS_parms_full (int whicheos, FTYPE(*EOSextra)[NSTORE2][NSTORE3][NUMEOSGLOBALS], FTYPE(*prim)[NSTORE2][NSTORE3][NPR]) |
compute EOS all parameters More... | |
void | store_EOS_parms (int whicheos, int numparms, FTYPE *EOSextra, FTYPE *parlist) |
store EOS parameters More... | |
void | get_EOS_parms (int whicheos, int *numparms, FTYPE *EOSextra, FTYPE *parlist) |
get EOS parameters More... | |
FTYPE | pressure_rho0_w (int whicheos, FTYPE *EOSextra, FTYPE rho0, FTYPE w) |
old function p(rho0,w) More... | |
Equation of State general functions.
//////////////////////////
IMPLEMENT EOS
u_rho0_p : used by initial conditions
u_rho0_T : used by initial conditions
pressure_rho0_u : used by inversion for initial guess and by rest of code to set pressure as functions of rho0 and u
dpdu_rho0_u dpdrho0_rho0_u : used by sources or other such derivatives
cs2_compute : used by vchar.c for characteristics
pressure_wmrho0 : used by inversion
compute_idwmrho0dp : used by 2D inversion
compute_entropy and compute_u_from_entropy : used by entropy evolution and inversion
//////////////////////////
Definition in file eos.c.