Computes 1D fluxes using simple two-shock Riemann solver. More...
Go to the source code of this file.
Functions | |
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 using simple two-shock Riemann solver.
PURPOSE: Computes 1D fluxes using simple two-shock Riemann solver. Currently only isothermal hydrodynamics has been implemented.
REFERENCES:
CONTAINS PUBLIC FUNCTIONS:
Definition in file two_shock.c.
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 53 of file two_shock.c.
References ath_error(), Cons1DS::d, Prim1DS::d, Cons1DS::E, E, Gamma, getPC(), Iso_csound, Iso_csound2, Cons1DS::Mx, Cons1DS::My, Cons1DS::Mz, Prim1DS::P, PFunc(), Prim1DS::Vx, Prim1DS::Vy, and Prim1DS::Vz.