PLUTO  4.4-patch2
Functions
ct_imex_update_ELR.c File Reference

Update staggered electric field in resistive RMHD. More...

#include "pluto.h"

Functions

void CT_IMEXImplicitUpdate (Data *d, Data_Arr J, double dt1, Grid *grid)
 

Detailed Description

References

Author
A. Mignone (migno.nosp@m.ne@t.nosp@m.o.inf.nosp@m.n.it)
Date
Dec 09, 2020

Function Documentation

◆ CT_IMEXImplicitUpdate()

void CT_IMEXImplicitUpdate ( Data d,
Data_Arr  J,
double  dt1,
Grid grid 
)

Update face electric fields with the stiff part of the current,

\[ E_f -= dt*j_f \]

where $ j_f $ is computed as arithmetic average of the cell-centered current obtained during the IMEX source step.