|
PLUTO
|
Piecewise parabolic reconstruction. More...
#include "pluto.h"
Go to the source code of this file.
Macros | |
| #define | PARABOLIC_LIM 1 |
Functions | |
| void | States (const State_1D *state, int beg, int end, Grid *grid) |
Piecewise parabolic reconstruction.
Compute interface states using piecewise parabolic reconstruction inside each zone. Reconstruction is performed in primitive variable (when CHAR_LIMITING == NO) or characteristic variables (when CHAR_LIMITING == YES). The reconstruction process follows the following steps:
).
. This step is equivalent to Eq. [45] of Mignone (JCP, 2014). The previous operation replaces, starting with PLUTO 4.1, the conventional van-Leer limiting used in the original PPM formulation.When interpolation is carried out in characteristic variables, we first compute vp and vm (unlimited) in primitive variables and then project the increments in characteristic space:
At this point, Eq. [45] (written in terms of increments) is imposed on characteristic variables while Eq. [46] can be imposed in characteristic variables (PRIMITIVE_LIM == 0), primitive (PRIMITIVE_LIM == 1) or both (PRIMITIVE_LIM == 2).
References
Definition in file ppm_states.c.
| #define PARABOLIC_LIM 1 |
Definition at line 257 of file ppm_states.c.
| [in] | state | pointer to State_1D structure |
| [in] | beg | initial index of computation |
| [in] | end | final index of computation |
| [in] | grid | pointer to an array of Grid structures |
Definition at line 68 of file ppm_states.c.
