PLUTO
4.4-patch2
|
Header file for Hall MHD. More...
Go to the source code of this file.
Functions | |
void | HallMHD_WhistlerSpeed (const State *, int, int, Grid *) |
double | HallMHD_ne (double *) |
void | HallMHD_Flux (const Sweep *, Data_Arr, double **, double **, int, int, Grid *) |
Provides macros, function prototypes and structure definitions for the Hall-MHD module.
void HallMHD_Flux | ( | const Sweep * | sweep, |
Data_Arr | curlB, | ||
double ** | hall_flux, | ||
double ** | lambdaH, | ||
int | beg, | ||
int | end, | ||
Grid * | grid | ||
) |
Compute Hall MHD fluxes for the induction and energy equations. Also, compute the diffusion coefficient. Called by either ParabolicFlux or ParabolicRHS.
[in] | sweep | Pointer to the sweep structure |
[out] | hall_flux | The hall mhd fluxes |
[out] | lambdaH | The diffusion coefficients evaluated at cell interfaces |
[in] | beg | initial index of computation |
[in] | end | final index of computation |
[in] | grid | pointer to an array of Grid structures. |
double HallMHD_ne | ( | double * | v | ) |
Compute the ne term for Hall MHD variables, coordinates and currents.
[in] | v | array of primitive variables |
Define the whistler speed defined from the equation in the Appendix of Lesur et al. 2014.
[in] | p | pointer to a state structure |
[in] | beg | initial index of computation |
[in] | end | final index of computation |
[in] | grid | pointer to an array of Grid structures |