PLUTO
4.4-patch2
|
Define point and diffusive fluxes for CT. More...
#include "pluto.h"
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.
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 |