Function to handle vector potential. More...
#include "pluto.h"Update the cell-centered vector potential by integrating
Depending on the time-stepping algorithm, we advance the solution in time using the following increments
The cell-centered electric field E is computed by averaging values available at faces or edges, depending on the MHD formulation:
,
,
,Note that the vector potential is NOT used in the rest of the code and serves solely as a diagnostic tool.
| [in,out] | d | pointer to PLUTO Data structure |
| [in] | vp | pointer to an EMF structure, used only with CT |
| [in] | state | pointer to State_1D structure containing the electric field components (cell-centered MHD) |
| [in] | grid | pointer to an array of Grid structures |
. Nevertheless, the correct right-handed cylindrical system is defined by
. The fact that the
coordinate is missing causes an ambiguity when computing the third component of the EMF in 2.5 D:
but is, indeed,
. This is not a problem in the update of the magnetic field, since the contribution coming from
is also reversed:
(
).
1.8.2