Functions

rsolvers/prototypes.h File Reference

Go to the source code of this file.

Functions

void esys_roe_iso_hyd (const Real v1, const Real v2, const Real v3, Real eigenvalues[], Real right_eigenmatrix[][4], Real left_eigenmatrix[][4])
 ISOTHERMAL HYDRO.
void esys_roe_adb_hyd (const Real v1, const Real v2, const Real v3, const Real h, Real eigenvalues[], Real right_eigenmatrix[][5], Real left_eigenmatrix[][5])
void esys_roe_iso_mhd (const Real d, const Real v1, const Real v2, const Real v3, const Real b1, const Real b2, const Real b3, const Real x, const Real y, Real eigenvalues[], Real right_eigenmatrix[][6], Real left_eigenmatrix[][6])
 ISOTHERMAL MHD.
void esys_roe_adb_mhd (const Real d, const Real v1, const Real v2, const Real v3, const Real h, const Real b1, const Real b2, const Real b3, const Real x, const Real y, Real eigenvalues[], Real right_eigenmatrix[][7], Real left_eigenmatrix[][7])
void fluxes (const Cons1DS Ul, const Cons1DS Ur, const Prim1DS Wl, const Prim1DS Wr, const Real Bxi, Cons1DS *pF)
 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.

Function Documentation

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 614 of file hllc_sr.c.

References Cons1DS::d, Prim1DS::d, Gamma, getMaxSignalSpeeds_echo(), getMaxSignalSpeeds_pluto(), Prim1DS::P, Pl, Pr, and Prim1DS::Vx.

Referenced by integrate_2d_vl(), and integrate_3d_vl().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys_roe_adb_hyd ( const Real  v1,
const Real  v2,
const Real  v3,
const Real  h,
Real  eigenvalues[],
Real  right_eigenmatrix[][5],
Real  left_eigenmatrix[][5] 
)

Definition at line 132 of file esystem_roe.c.

References a, and Gamma_1.

Referenced by fluxes(), HLLE_FUNCTION(), and problem().

Here is the caller graph for this function:

void esys_roe_adb_mhd ( const Real  d,
const Real  v1,
const Real  v2,
const Real  v3,
const Real  h,
const Real  b1,
const Real  b2,
const Real  b3,
const Real  x,
const Real  y,
Real  eigenvalues[],
Real  right_eigenmatrix[][7],
Real  left_eigenmatrix[][7] 
)

Definition at line 432 of file esystem_roe.c.

References Gamma_1, Gamma_2, and s.

Referenced by fluxes(), HLLE_FUNCTION(), and problem().

Here is the caller graph for this function:

void esys_roe_iso_hyd ( const Real  v1,
const Real  v2,
const Real  v3,
Real  eigenvalues[],
Real  right_eigenmatrix[][4],
Real  left_eigenmatrix[][4] 
)

ISOTHERMAL HYDRO.

  • Input: v1,v2,v3 = Roe averaged components of velocity
  • Output: eigenvalues[4],right_eigenmatrix[4,4],left_eigenmatrix[4,4]

Definition at line 62 of file esystem_roe.c.

References Iso_csound.

Referenced by fluxes(), HLLE_FUNCTION(), and problem().

Here is the caller graph for this function:

void esys_roe_iso_mhd ( const Real  d,
const Real  v1,
const Real  v2,
const Real  v3,
const Real  b1,
const Real  b2,
const Real  b3,
const Real  x,
const Real  y,
Real  eigenvalues[],
Real  right_eigenmatrix[][6],
Real  left_eigenmatrix[][6] 
)

ISOTHERMAL MHD.

  • Input: d,v1,v2,v3,b1,b2,b3 = Roe averaged density, velocities, and B field x,y = numerical factors (eqs. )
  • Output: eigenvalues[6], right_eigenmatrix[6,6], left_eigenmatrix[6,6];

Definition at line 232 of file esystem_roe.c.

References Iso_csound2, and s.

Referenced by fluxes(), HLLE_FUNCTION(), and problem().

Here is the caller graph for this function:

void fluxes ( const Cons1DS  Ul,
const Cons1DS  Ur,
const Prim1DS  Wl,
const Prim1DS  Wr,
const Real  Bxi,
Cons1DS pF 
)

Calculates fluxes of CONSERVED variables.

Computes 1D fluxes Input Arguments:

  • Bxi = B in direction of slice at cell interface
  • Ul,Ur = L/R-states of CONSERVED variables at cell interface Output Arguments:
  • pFlux = pointer to fluxes of CONSERVED variables at cell interface.

Computes 1D fluxes.

Compute 1D fluxes Input Arguments:

  • Bxi = B in direction of slice at cell interface
  • Ul,Ur = L/R-states of CONSERVED variables at cell interface.

Computes 1D fluxes Input Arguments:

  • Ul,Ur = L/R-states of CONSERVED variables at cell interface
  • Wl,Wr = L/R-states of PRIMITIVE variables at cell interface Output Arguments:
  • pFlux = pointer to fluxes of CONSERVED variables at cell interface.

Computes 1D fluxes Input Arguments:

  • Ul,Ur = L/R-states of CONSERVED variables at cell interface Output Arguments:
  • pFlux = pointer to fluxes of CONSERVED variables at cell interface.

Computes 1D fluxes Input Arguments:

  • Bxi = B in direction of 1D slice at cell interface
  • Ul,Ur = L/R-states of CONSERVED variables at cell interface Output Arguments:
  • pFlux = pointer to fluxes of CONSERVED variables at cell interface.

Computes 1D fluxes using exact special relativistic Riemann solver.

Computes fluxes of CONSERVES variables.

Input Arguments:

  • Bxi = B in direction of slice at cell interface
  • Ul,Ur = L/R-states of CONSERVED variables at cell interface Output Arguments:
  • pFlux = pointer to fluxes of CONSERVED variables at cell interface

Input Arguments:

  • Bxi = B in direction of slice at cell interface
  • Ul,Ur = L/R-states of CONSERVED variables at cell interface Output Arguments:
  • pF = pointer to fluxes of CONSERVED variables at cell interface

Input Arguments:

  • Ul,Ur = L/R-states of CONSERVED variables at cell interface
  • Bx = B in direction of slice at cell interface Output Arguments:
  • pF = pointer to fluxes of CONSERVED variables at cell interface

--------------------------------------------------------------------------

Output Arguments:

  • Flux = fluxes of CONSERVED variables at cell interface

Input Arguments:

  • Ul,Ur = L/R-states of CONSERVED variables at cell interface
  • Bx = B in direction of slice at cell interface Output Arguments:
  • pFlux = pointer to fluxes of CONSERVED variables at cell interface

Definition at line 482 of file exact.c.

References a, ath_error(), ath_perr(), CONS_STATE::B1, CONS_STATE::B2, CONS_STATE::B3, Cons1DS::By, Prim1DS::By, Cons1DS::Bz, Prim1DS::Bz, C, check_Prim1D(), Cons1D_to_Prim1D(), Cons1DS::d, Prim1DS::d, dl, CONS_STATE::DN, dr, Cons1DS::E, E, CONS_STATE::EN, esys_roe_adb_hyd(), esys_roe_adb_mhd(), esys_roe_iso_hyd(), esys_roe_iso_mhd(), etah, f, Riemann_State::fail, flux_hlle(), flux_LR(), Fstar(), Gamma, Gamma_1, GET_ASTATE(), GET_CSTATE(), getMaxSignalSpeeds_echo(), getMaxSignalSpeeds_pluto(), getP(), getPC(), getPtot(), getShockVars(), getVb_Raref(), getVb_Shock(), getVelT_Raref(), getVelT_Shock(), getXi(), Iso_csound, Iso_csound2, CONS_STATE::M1, CONS_STATE::M2, CONS_STATE::M3, Cons1DS::Mx, Cons1DS::My, Cons1DS::Mz, n, Prim1DS::P, p0, Cons1DS::Pflux, PFunc(), Pl, Pr, Riemann_State::R, Prim1DS::r, RS, rtbis_xi(), Riemann_State::S, Cons1DS::s, Riemann_State::Sa, setFluxes(), SR, Two_R, Two_S, Riemann_State::u, Prim1DS::Vx, vxl, vxr, Prim1DS::Vy, vz, Prim1DS::Vz, and wave.

Referenced by integrate_1d_ctu(), integrate_1d_vl(), integrate_2d_ctu(), integrate_2d_vl(), integrate_3d_ctu(), and integrate_3d_vl().

Here is the call graph for this function:

Here is the caller graph for this function: