PLUTO  4.0
 All Data Structures Files Functions Variables Enumerations Macros Pages
Functions
fd_flux.c File Reference

Compute finite difference fluxes. More...

#include "pluto.h"

Functions

void FD_Flux (const State_1D *state, int beg, int end, double *cmax, Grid *grid)
 

Detailed Description

The function FD_Flux() computes a high-order approximation to the flux divergence using WENO or Monotonicity-preserving reconstruction in characteristic variables.

It is called as a regular Riemann solver function except that the left and right states do not need to be defined since high-order reconstruction is done on the characteristic projection of the cell-centered fluxes.

Authors
A. Mignone (migno.nosp@m.ne@p.nosp@m.h.uni.nosp@m.to.i.nosp@m.t)
P. Tzeferacos (petro.nosp@m.s.tz.nosp@m.efera.nosp@m.cos@.nosp@m.ph.un.nosp@m.ito..nosp@m.it)
Date
Sep 14, 2012

Function Documentation

void FD_Flux ( const State_1D state,
int  beg,
int  end,
double *  cmax,
Grid grid 
)

Compute interface flux by suitable high-order finite difference non-oscillatory interpolants.

Parameters
[in]statepointer to State_1D structure
[in]beginitial index of computation
[in]endfinal index of computation
[out]cmaxarray of maximum characteristic speeds
[in]gridpointer to an array of Grid structures

Reference

  • "High-order conservative finite difference GLM-MHD schemes for cell-centered MHD"
    Mignone et al., JCP (2010), 229, 5896
Returns
This function has no return value.