Compute the outermost wave speeds for HLL-based solvers.
More...
|
void | HLL_Speed (const State *stateL, const State *stateR, double *SL, double *SR, int beg, int end) |
|
void | HLL_Speed_RHD (const State *stateL, const State *stateR, double *SL, double *SR, int beg, int end) |
|
HLL_Speed() computes an estimate to the leftmost and rightmost wave signal speeds bounding the Riemann fan based on the input sweeps ::stateL->v, ::stateR->v.
- Authors
- A. Mignone (migno.nosp@m.ne@t.nosp@m.o.inf.nosp@m.n.it)
- Date
- July 1, 2019
◆ HLL_Speed()
void HLL_Speed |
( |
const State * |
stateL, |
|
|
const State * |
stateR, |
|
|
double * |
SL, |
|
|
double * |
SR, |
|
|
int |
beg, |
|
|
int |
end |
|
) |
| |
Compute leftmost (SL) and rightmost (SR) speeds for the Riemann fan.
- Parameters
-
[in] | stateL | pointer to a state structure for the left state |
[in] | stateR | pointer to a state structure for the right state |
[out] | SL | the (estimated) leftmost speed of the Riemann fan |
[out] | SR | the (estimated) rightmost speed of the Riemann fan |
[in] | beg | starting index of computation |
[in] | end | final index of computation |
◆ HLL_Speed_RHD()
void HLL_Speed_RHD |
( |
const State * |
stateL, |
|
|
const State * |
stateR, |
|
|
double * |
SL, |
|
|
double * |
SR, |
|
|
int |
beg, |
|
|
int |
end |
|
) |
| |
Compute leftmost (SL) and rightmost (SR) speeds for the hydro Riemann fan. Include two acoustic modes only.
- Parameters
-
[in] | stateL | pointer to a state structure for the left state |
[in] | stateR | pointer to a state structure for the right state |
[out] | SL | the (estimated) leftmost speed of the Riemann fan |
[out] | SR | the (estimated) rightmost speed of the Riemann fan |
[in] | beg | starting index of computation |
[in] | end | final index of computation |