struct
UpwindUpwind Riemann solver.
Contents
- Reference
Public static functions
Function documentation
static tk::RiemannFluxFn::result_type inciter:: Upwind:: flux(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 |
u in | Left and right unknown/state vector |
v 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