Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
riemann_hllc.hpp File Reference

HLLC Riemann solvers for the gas equations From original version by Thomas Guillet (T.A.G.nosp@m.uill.nosp@m.et@ex.nosp@m.eter.nosp@m..ac.u.nosp@m.k). More...

Include dependency graph for riemann_hllc.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  shammath
 namespace for math utility

Functions

template<FluidStateAdiabaticSpec FSpec>
constexpr FSpec::Tcons shammath::hllc_adiab_toro_flux (const FSpec &fspec, const typename FSpec::Tprim &prim_l, const typename FSpec::Tprim &prim_r, const typename FSpec::Tvec &n)
 HLLC solver based on section 10.4 from Toro 3rd Edition , Springer 2009. The wave speeds estimates are based on Bernd Einfeldt (SIAM, 1988), On Godunov-Type Methods for Gas Dynamics, using the pressure in the star region estimated through the primitive variable solver (valid for an adiabatic equation of state). Computes the flux across a face with unit normal n.
template<FluidStateSpec FSpec>
constexpr FSpec::Tcons shammath::hllc_davis_flux (const FSpec &fspec, const typename FSpec::Tprim &prim_l, const typename FSpec::Tprim &prim_r, const typename FSpec::Tvec &n)
 HLLC solver based on section 10.4 from Toro 3rd Edition , Springer 2009, using the Davis (1988) wave speed estimate instead of the pressure based (p*) estimate, i.e. s_l = min(velx_l - cs_l, velx_r - cs_r) s_r = max(velx_l + cs_l, velx_r + cs_r) This estimate does not rely on an adiabatic equation of state for the pressure in the star region and can therefore be used for other equations of state. Computes the flux across a face with unit normal n.

Detailed Description

HLLC Riemann solvers for the gas equations From original version by Thomas Guillet (T.A.G.nosp@m.uill.nosp@m.et@ex.nosp@m.eter.nosp@m..ac.u.nosp@m.k).

Author
Léodasce Sewanou (leoda.nosp@m.sce..nosp@m.sewan.nosp@m.ou@e.nosp@m.ns-ly.nosp@m.on.f.nosp@m.r) –no git blame–
Thomas Guillet (T.A.G.nosp@m.uill.nosp@m.et@ex.nosp@m.eter.nosp@m..ac.u.nosp@m.k) –no git blame–
Timothée David–Cléris (tim.s.nosp@m.hamr.nosp@m.ock@p.nosp@m.roto.nosp@m.n.me)

Definition in file riemann_hllc.hpp.