struct
RusanovContents
- Reference
Rusanov approximate Riemann solver
This class can be used polymorphically with inciter::
Public static functions
- static void flux(std::size_t system, real nx, real ny, real nz, real mx, real my, real mz, real rL, real ruL, real rvL, real rwL, real reL, real rR, real ruR, real rvR, real rwR, real reR, real w1L, real w2L, real w3L, real w1R, real w2R, real w3R, real pL, real pR, real& fr, real& fru, real& frv, real& frw, real& fre)
-
static auto type() -> ctr::
FluxType noexcept
Function documentation
static void inciter:: Rusanov:: flux(std::size_t system,
real nx,
real ny,
real nz,
real mx,
real my,
real mz,
real rL,
real ruL,
real rvL,
real rwL,
real reL,
real rR,
real ruR,
real rvR,
real rwR,
real reR,
real w1L,
real w2L,
real w3L,
real w1R,
real w2R,
real w3R,
real pL,
real pR,
real& fr,
real& fru,
real& frv,
real& frw,
real& fre)
Parameters | |
---|---|
system in | Equation system index |
nx in | X component of the surface normal |
ny in | Y component of the surface normal |
nz in | Z component of the surface normal |
mx in | X component of the weighted surface normal on chare boundary, weighted by the number of contributions to the edge |
my in | Y component of the weighted surface normal on chare boundary, weighted by the number of contributions to the edge |
mz in | Z component of the weighted surface normal on chare boundary, weighted by the number of contributions to the edge |
rL in | Left density |
ruL in | Left X momentum |
rvL in | Left Y momentum |
rwL in | Left Z momentum |
reL in | Left total specific energy |
rR in | Right density |
ruR in | Right X momentum |
rvR in | Right Y momentum |
rwR in | Right Z momentum |
reR in | Right total specific energy |
w1L in | Left X mesh velocity |
w2L in | Left Y mesh velocity |
w3L in | Left Z mesh velocity |
w1R in | Right X mesh velocity |
w2R in | Right Y mesh velocity |
w3R in | Right Z mesh velocity |
pL in | Left pressure |
pR in | Right pressure |
fr in/out | Riemann solution for density according to Rusanov |
fru in/out | Riemann solution for X momenutm according to Rusanov |
frv in/out | Riemann solution for Y momenutm according to Rusanov |
frw in/out | Riemann solution for Z momenutm according to Rusanov |
fre in/out | Riemann solution for specific total energy according to Rusanov |
Rusanov approximate Riemann solver flux function