Resistive MHD module header file. More...
Go to the source code of this file.
Functions | |
void | ResistiveFlux (Data_Arr, double **, double **, int, int, Grid *) |
void | GetCurrent (Data_Arr, real **, Grid *) |
Contains prototypes for the resistive MHD module.
void GetCurrent | ( | Data_Arr | V, |
double ** | curlB, | ||
Grid * | grid | ||
) |
void ResistiveFlux | ( | Data_Arr | V, |
double ** | RF, | ||
double ** | dcoeff, | ||
int | beg, | ||
int | end, | ||
Grid * | grid | ||
) |
Compute resistive fluxes for the induction and energy equations. Also, compute the diffusion coefficient. Called by either ParabolicFlux or ParabolicRHS.
[in] | V | 3D data array of primitive variables |
[out] | RF | the resistive fluxes |
[out] | dcoeff | 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. |