PLUTO
4.4-patch2
|
Solve the stiff-implicit part of the RK-Imex method. More...
#include "pluto.h"
Functions | |
void | IMEXImplicitUpdate (Data *data, double dt1, Data_Arr S, Data_Arr Jf, Grid *grid) |
Main driver for including the stiff source terms of the resistive RMHD equation within the IMEX formalism.
Perform an implicit update of the conservative variables by adding the stiff source term to the electric field. Only the electric field is actually updated although this requires primitive variables to change.
[in,out] | data | PLUTO data array. On input, Vc is an array of primitive quantities at the old time level. On output Vc is converted from Uc at the next time level. |
[in] | dt1 | The time step to be taken |
[out] | S | A 4D array containing the three component of the source term vector |
[in] | grid | Pointer to grid structure. |