Computes 1D fluxes using Roe's linearization. More...
Go to the source code of this file.
Functions | |
void | flux_hlle (const Cons1DS Ul, const Cons1DS Ur, const Prim1DS Wl, const Prim1DS Wr, const Real Bxi, Cons1DS *pFlux) |
Function prototype for HLLE fluxes. | |
void | fluxes (const Cons1DS Ul, const Cons1DS Ur, const Prim1DS Wl, const Prim1DS Wr, const Real Bxi, Cons1DS *pFlux) |
Calculates fluxes of CONSERVED variables. | |
Variables | |
Real | etah = 0.0 |
Computes 1D fluxes using Roe's linearization.
PURPOSE: Computes 1D fluxes using Roe's linearization. When Roe's method fails because of negative density or pressure in the intermediate states, the fluxes are computed with the HLLE solver instead.
REFERENCES:
CONTAINS PUBLIC FUNCTIONS:
Definition in file roe.c.
void flux_hlle | ( | const Cons1DS | Ul, | |
const Cons1DS | Ur, | |||
const Prim1DS | Wl, | |||
const Prim1DS | Wr, | |||
const Real | Bxi, | |||
Cons1DS * | pFlux | |||
) |
Function prototype for HLLE fluxes.
Referenced by fluxes().
void fluxes | ( | const Cons1DS | Ul, | |
const Cons1DS | Ur, | |||
const Prim1DS | Wl, | |||
const Prim1DS | Wr, | |||
const Real | Bxi, | |||
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 59 of file roe.c.
References a, Cons1DS::By, Prim1DS::By, Cons1DS::Bz, Prim1DS::Bz, Cons1DS::d, Prim1DS::d, Cons1DS::E, esys_roe_adb_hyd(), esys_roe_adb_mhd(), esys_roe_iso_hyd(), esys_roe_iso_mhd(), etah, flux_hlle(), Gamma_1, Iso_csound2, Cons1DS::Mx, Cons1DS::My, Cons1DS::Mz, n, Prim1DS::P, Cons1DS::Pflux, Prim1DS::r, Cons1DS::s, Prim1DS::Vx, Prim1DS::Vy, and Prim1DS::Vz.
Definition at line 33 of file roe.c.
Referenced by fluxes(), integrate_2d_ctu(), integrate_2d_vl(), integrate_3d_ctu(), and integrate_3d_vl().