Compute states using piece-wise linear interpolation. More...
#include "pluto.h"
Functions | |
void | States (const State_1D *state, int beg, int end, Grid *grid) |
Provide piece-wise linear reconstruction inside each cell using primitive or characteristic variables. Note that vL and vR are left and right states with respect to the interface, while vm and vp refer to the cell center:
vL-> <-vR |--------*--------|--------*--------| <-vm (i) vp-> (i+1)
A default setup is used when LIMITER is set to DEFAULT in in your definitions.h.
A stencil of 3 zones is required for all limiters except for the FOURTH_ORDER_LIM which requires 5 zones.