ryujin 2.1.1 revision 0348cbb53a3e4b1da2a4c037e81f88f2d21ce219
|
#include <source/skeleton/riemann_solver.h>
Public Types | |
Typedefs and constexpr constants | |
using | View = HyperbolicSystemView< dim, Number > |
using | ScalarNumber = typename View::ScalarNumber |
using | state_type = typename View::state_type |
using | PrecomputedVector = typename View::PrecomputedVector |
using | Parameters = RiemannSolverParameters< ScalarNumber > |
Compute wavespeed estimates | |
RiemannSolver (const HyperbolicSystem &hyperbolic_system, const Parameters ¶meters, const PrecomputedVector &precomputed_values) | |
Number | compute (const state_type &, const state_type &, const unsigned int, const unsigned int *, const dealii::Tensor< 1, dim, Number > &) const |
A fast approximative solver for the associated 1D Riemann problem. The solver has to ensure that the estimate \(\lambda_{\text{max}}\) that is returned for the maximal wavespeed is a strict upper bound.
Definition at line 39 of file riemann_solver.h.
using ryujin::Skeleton::RiemannSolver< dim, Number >::View = HyperbolicSystemView<dim, Number> |
Definition at line 47 of file riemann_solver.h.
using ryujin::Skeleton::RiemannSolver< dim, Number >::ScalarNumber = typename View::ScalarNumber |
Definition at line 49 of file riemann_solver.h.
using ryujin::Skeleton::RiemannSolver< dim, Number >::state_type = typename View::state_type |
Definition at line 51 of file riemann_solver.h.
using ryujin::Skeleton::RiemannSolver< dim, Number >::PrecomputedVector = typename View::PrecomputedVector |
Definition at line 53 of file riemann_solver.h.
using ryujin::Skeleton::RiemannSolver< dim, Number >::Parameters = RiemannSolverParameters<ScalarNumber> |
Definition at line 55 of file riemann_solver.h.
|
inline |
Constructor taking a HyperbolicSystem instance as argument
Definition at line 66 of file riemann_solver.h.
|
inline |
For two given states U_i a U_j and a (normalized) "direction" n_ij compute an estimation of an upper bound for lambda.
Definition at line 79 of file riemann_solver.h.