PLUTO  4.4-patch2
Functions
ppm_states.c File Reference

Piecewise parabolic reconstruction. More...

#include "pluto.h"

Functions

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

Detailed Description

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:

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:

\[ \delta w_{i,\pm} = \vec{l}_i\cdot\delta v_{i,\pm} \]

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).

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

References

Function Documentation

◆ States()

void States ( const Sweep sweep,
int  beg,
int  end,
Grid grid 
)
Parameters
[in]sweeppointer to Sweep structure
[in]beginitial index of computation
[in]endfinal index of computation
[in]gridpointer to an array of Grid structures