Compute 1D fluxes using an HLLE-type relativistic Riemann solver. More...
Go to the source code of this file.
Functions | |
void | flux_LR (Cons1DS U, Prim1DS W, Cons1DS *flux, Real Bx, Real *p) |
void | getMaxSignalSpeeds_pluto (const Prim1DS Wl, const Prim1DS Wr, const Real Bx, Real *low, Real *high) |
void | getMaxSignalSpeeds_echo (const Prim1DS Wl, const Prim1DS Wr, const Real Bx, Real *low, Real *high) |
void | getVChar_echo (const Prim1DS W, const Real Bx, Real *lml, Real *lmr) |
void | getVChar_pluto (const Prim1DS W, const Real Bx, Real *lml, Real *lmr) |
int | QUARTIC (Real b, Real c, Real d, Real e, Real z[]) |
int | CUBIC (Real b, Real c, Real d, Real z[]) |
void | fluxes (const Cons1DS Ul, const Cons1DS Ur, const Prim1DS Wl, const Prim1DS Wr, const Real Bx, Cons1DS *pFlux) |
Calculates fluxes of CONSERVED variables. | |
void | entropy_flux (const Cons1DS Ul, const Cons1DS Ur, const Prim1DS Wl, const Prim1DS Wr, const Real Bx, Real *pFlux) |
Calculate entropy flux. |
Compute 1D fluxes using an HLLE-type relativistic Riemann solver.
PURPOSE: Compute 1D fluxes using an HLLE-type relativistic Riemann solver. Works for both hydro and MHD, but is very diffusive.
HISTORY:
CONTAINS PUBLIC FUNCTIONS:
Definition in file hlle_sr.c.
void entropy_flux | ( | const Cons1DS | Ul, | |
const Cons1DS | Ur, | |||
const Prim1DS | Wl, | |||
const Prim1DS | Wr, | |||
const Real | Bx, | |||
Real * | pFlux | |||
) |
Calculate entropy flux.
Compute entropy flux.
Definition at line 218 of file hlle_sr.c.
References Cons1DS::d, Prim1DS::d, Gamma, getMaxSignalSpeeds_echo(), getMaxSignalSpeeds_pluto(), Prim1DS::P, Pl, Pr, and Prim1DS::Vx.
Definition at line 324 of file hlle_sr.c.
References Cons1DS::By, Prim1DS::By, Cons1DS::Bz, Prim1DS::Bz, Cons1DS::d, Prim1DS::d, Cons1DS::E, Gamma, Gamma_1, Cons1DS::Mx, Cons1DS::My, Cons1DS::Mz, Prim1DS::P, theta, Prim1DS::Vx, Prim1DS::Vy, and Prim1DS::Vz.
void fluxes | ( | const Cons1DS | Ul, | |
const Cons1DS | Ur, | |||
const Prim1DS | Wl, | |||
const Prim1DS | Wr, | |||
const Real | Bx, | |||
Cons1DS * | pFlux | |||
) |
Calculates fluxes of CONSERVED variables.
Computes 1D fluxes Input Arguments:
Computes 1D fluxes.
Compute 1D fluxes Input Arguments:
Computes 1D fluxes Input Arguments:
Computes 1D fluxes Input Arguments:
Computes 1D fluxes Input Arguments:
Computes 1D fluxes using exact special relativistic Riemann solver.
Computes fluxes of CONSERVES variables.
Input Arguments:
Input Arguments:
Input Arguments:
--------------------------------------------------------------------------
Output Arguments:
Input Arguments:
Definition at line 64 of file hlle_sr.c.
References Cons1DS::By, Cons1DS::Bz, Cons1DS::d, Cons1DS::E, flux_LR(), getMaxSignalSpeeds_echo(), getMaxSignalSpeeds_pluto(), Cons1DS::Mx, Cons1DS::My, Cons1DS::Mz, Pl, and Pr.
void getMaxSignalSpeeds_echo | ( | const Prim1DS | Wl, | |
const Prim1DS | Wr, | |||
const Real | Bx, | |||
Real * | low, | |||
Real * | high | |||
) |
Definition at line 527 of file hlle_sr.c.
References getVChar_echo().
void getMaxSignalSpeeds_pluto | ( | const Prim1DS | Wl, | |
const Prim1DS | Wr, | |||
const Real | Bx, | |||
Real * | low, | |||
Real * | high | |||
) |
Definition at line 377 of file hlle_sr.c.
References getVChar_pluto().
Definition at line 542 of file hlle_sr.c.
References b0, Prim1DS::By, Prim1DS::Bz, Prim1DS::d, Gamma, Gamma_1, Prim1DS::P, Prim1DS::Vx, Prim1DS::Vy, and Prim1DS::Vz.
Definition at line 392 of file hlle_sr.c.
References b0, Prim1DS::By, Prim1DS::Bz, Prim1DS::d, Gamma, Gamma_1, lambda, Prim1DS::P, Q, QUARTIC(), Prim1DS::Vx, Prim1DS::Vy, and Prim1DS::Vz.