PLUTO  4.4-patch2
Functions
reconstruct.c File Reference

General-purpose reconstruction algorithms. More...

#include "pluto.h"

Functions

double MP5_Reconstruct (double *F, double dx, int j)
 

Detailed Description

Common-usgae reconstruction functions (not necessarily optimized) shared by:

These functions returns only the right-extrapolated edge value $ V^L(x_{i+\HALF}) $. In order to obtain also $ V^R(x_{i-\HALF}) $ call the same function with array sorted in the reversed direction.

Note that these schemes are not optimized for curvilinear coordinates.

Authors
A. Mignone (migno.nosp@m.ne@t.nosp@m.o.inf.nosp@m.n.it)
References
  • "High-order conservative finite difference GLM-MHDschemes for cell-centered MHD"
    Mignone, Tzeferacos & Bodo, JCP (2010) 229, 5896
Date
Sep 1, 2019

Function Documentation

◆ MP5_Reconstruct()

double MP5_Reconstruct ( double *  F,
double  dx,
int  j 
)

Monotonicity-preserving reconstruction of Suresh-Huynh, JCP (1997) 136.

Parameters
[in]Fa 1D array to be reconstructed
[in]dxgrid spacing (not used)
[in]jthe point at which reconstruction is needed.
Returns
On output it returns the right-edge value.