PLUTO Test Problems
4.4-patch2
|
Define point and diffusive fluxes for CT. More...
Functions | |
void | CT_Flux (const Sweep *sweep, int beg, int end, Grid *grid) |
Compute the "smooth" and "diffusive" terms of the induction equations fluxes. These will be later reconstructed in the transverse direction to obtained the edge-centered electric field in the constrained transport (CT) method.
void CT_Flux | ( | const Sweep * | sweep, |
int | beg, | ||
int | end, | ||
Grid * | grid | ||
) |
Compute smooth and diffusive contributions to the flux. The following quantities must be well defined entering this function:
sweep->stateL->flux
sweep->stateR->flux
sweep->flux
sweep->SL
sweep->SR
.[in,out] | sweep | pointer to swep structure. |
[in] | beg | initial index of computation |
[in] | end | final index of computation |
[in] | grid | pointer to Grid structure |