PLUTO  4.4-patch2
Functions
ct_flux.c File Reference

Define point and diffusive fluxes for CT. More...

#include "pluto.h"

Functions

void CT_Flux (const Sweep *sweep, int beg, int end, Grid *grid)
 

Detailed Description

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.

Authors
A. Mignone (migno.nosp@m.ne@t.nosp@m.o.inf.nosp@m.n.it)
References
  • "???"
    Mignone et al, JCP (2020) ??, ??
Date
Jan 18, 2020

Function Documentation

◆ CT_Flux()

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.
Parameters
[in,out]sweeppointer to swep structure.
[in]beginitial index of computation
[in]endfinal index of computation
[in]gridpointer to Grid structure