inciter::Upwind struct

Upwind Riemann solver.

Contents

Public static functions

static auto flux(const std::vector<EOS>, const std::array<tk::real, 3>& fn, const std::array<std::vector<tk::real>, 2>& u, const std::vector<std::array<tk::real, 3>>& v) -> tk::RiemannFluxFn::result_type
static auto type() -> ctr::FluxType noexcept

Function documentation

static tk::RiemannFluxFn::result_type inciter::Upwind::flux(const std::vector<EOS>, const std::array<tk::real, 3>& fn, const std::array<std::vector<tk::real>, 2>& u, const std::vector<std::array<tk::real, 3>>& v)

Parameters
fn in Face/Surface normal
in Left and right unknown/state vector
in Prescribed velocity evaluated at the integration point where this flux function is used for all scalar components in the system of PDEs integrated
Returns Riemann solution using a central difference method

Upwind Riemann solver flux function

static ctr::FluxType inciter::Upwind::type() noexcept

Returns Flux type

Flux type accessor