Compute the RMHD flux.
More...
|
void | Flux (const State *state, int beg, int end) |
|
Compute the flux of the conservative RMHD equations in the direction given by g_dir. This function defines the component of the hyperbolic flux tensor of the standard MHD equations.
In what follows:
VXn
, MXn
, BXn
are the velocity, momentum and magnetic field components in the direction given by g_dir (normal, "n"
)
VXt
, MXt
, BXt
and VXb
, MXb
, BXb
are the transverse components (tangent "t"
and bi-tangent "b"
).
- Author
- A. Mignone (migno.nosp@m.ne@t.nosp@m.o.inf.nosp@m.n.it)
- Date
- July 1, 2019
◆ Flux()
void Flux |
( |
const State * |
state, |
|
|
int |
beg, |
|
|
int |
end |
|
) |
| |
- Parameters
-
[in,out] | state | Pointer to a state structure |
[in] | beg | initial index of computation |
[in] | end | final index of computation |
- Returns
- This function has no return value.
Compute the component of the flux tensor normal to the direction of integration.
- Parameters
-
[in,out] | state | Pointer to a state structure |
[in] | beg | initial index of computation |
[in] | end | final index of computation |
- Returns
- This function has no return value.