PLUTO
|
Compute the hydro (HD) flux. More...
#include "pluto.h"
Go to the source code of this file.
Functions | |
void | Flux (double **u, double **w, double *a2, double **fx, double *p, int beg, int end) |
Compute the hydro (HD) flux.
Compute the flux of the conservative HD equations in the direction given by g_dir. This function defines the component of the hyperbolic flux tensor of the standard HD equations.
In what follows:
VXn
, MXn
are the velocity, momentum components in the direction given by g_dir (normal, "n"
)VXt
, MXt
and VXb
, MXb
are the transverse components (tangent "t"
and bi-tangent "b"
).Definition in file fluxes.c.
void Flux | ( | double ** | u, |
double ** | w, | ||
double * | a2, | ||
double ** | fx, | ||
double * | p, | ||
int | beg, | ||
int | end | ||
) |
[in] | u | 1D array of conserved quantities |
[in] | w | 1D array of primitive quantities |
[in] | a2 | 1D array of sound speeds |
[out] | fx | 1D array of fluxes (total pressure excluded) |
[out] | p | 1D array of pressure values |
[in] | beg | initial index of computation |
[in] | end | final index of computation |
Definition at line 23 of file fluxes.c.