Compute finite difference fluxes. More...
#include "pluto.h"
Functions | |
void | FD_Flux (const State_1D *state, int beg, int end, double *cmax, Grid *grid) |
The function FD_Flux() computes a high-order approximation to the flux divergence using WENO or Monotonicity-preserving reconstruction in characteristic variables.
It is called as a regular Riemann solver function except that the left and right states do not need to be defined since high-order reconstruction is done on the characteristic projection of the cell-centered fluxes.
Compute interface flux by suitable high-order finite difference non-oscillatory interpolants.
[in] | state | pointer to State_1D structure |
[in] | beg | initial index of computation |
[in] | end | final index of computation |
[out] | cmax | array of maximum characteristic speeds |
[in] | grid | pointer to an array of Grid structures |
Reference