PLUTO
|
Compute the outermost wave speeds for HLL-based solvers. More...
#include "pluto.h"
Go to the source code of this file.
Functions | |
void | HLL_Speed (double **vL, double **vR, double *a2L, double *a2R, double *hL, double *hR, double *SL, double *SR, int beg, int end) |
Compute the outermost wave speeds for HLL-based solvers.
HLL_Speed() computes an estimate to the leftmost and rightmost wave signal speeds bounding the Riemann fan based on the input states ::vR and ::vL. Depending on the estimate, several variants are possible.
Definition in file hll_speed.c.
void HLL_Speed | ( | double ** | vL, |
double ** | vR, | ||
double * | a2L, | ||
double * | a2R, | ||
double * | hL, | ||
double * | hR, | ||
double * | SL, | ||
double * | SR, | ||
int | beg, | ||
int | end | ||
) |
Compute leftmost (SL) and rightmost (SR) speed for the Riemann fan.
[in] | vL | left state for the Riemann solver |
[in] | vR | right state for the Riemann solver |
[in] | a2L | 1-D array containing the square of the sound speed for the left state |
[in] | a2R | 1-D array containing the square of the sound speed 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 |
Definition at line 18 of file hll_speed.c.