PLUTO
|
HLL Riemann solver for HD. More...
#include "pluto.h"
Go to the source code of this file.
Functions | |
void | HLL_Solver (const State_1D *state, int beg, int end, double *cmax, Grid *grid) |
HLL Riemann solver for HD.
Solve the Riemann problem for the HD equations using the single-state HLL solver by Toro.
On input, this function takes left and right primitive state vectors state->vL
and state->vR
at zone edge i+1/2
; On output, return flux and pressure vectors at the same interface i+1/2
(note that the i
refers to i+1/2
).
Also during this step, compute maximum wave propagation speed (cmax) for explicit time step computation.
Reference:
Definition in file hll.c.
Solve Riemann problem for the adiabatic/isothermal MHD equations using the HLL Riemann solver.
[in,out] | state | pointer to State_1D structure |
[in] | beg | initial grid index |
[out] | end | final grid index |
[out] | cmax | 1D array of maximum characteristic speeds |
[in] | grid | pointer to array of Grid structures. |
Definition at line 30 of file hll.c.