inciter::LaxFriedrichsSolids struct

Lax-Friedrichs approximate Riemann solver for solids.

Contents

Public static functions

static auto flux(const std::vector<EOS>& mat_blk, const std::array<tk::real, 3>& fn, const std::array<std::vector<tk::real>, 2>& u, const std::vector<std::array<tk::real, 3>>& = {}) -> tk::RiemannFluxFn::result_type

Function documentation

static tk::RiemannFluxFn::result_type inciter::LaxFriedrichsSolids::flux(const std::vector<EOS>& mat_blk, const std::array<tk::real, 3>& fn, const std::array<std::vector<tk::real>, 2>& u, const std::vector<std::array<tk::real, 3>>& = {})

Parameters
mat_blk
fn in Face/Surface normal
in Left and right unknown/state vector
Returns Riemann flux solution according to Lax-Friedrichs, appended by Riemann velocities and volume-fractions.

Lax-Friedrichs approximate Riemann solver flux function