PLUTO  4.4-patch2
Functions
flat_states.c File Reference

Compute time-centered interface states using characteristic tracing. More...

#include "pluto.h"

Functions

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

Detailed Description

Provide 1st order flat reconstruction inside each zone. Here vL and vR are left and right sweeps with respect to the cell interface, while vm and vp refer to the cell center, that is:

              VL-> <-VR
 |--------*--------|--------*--------|
  <-am   (i)   ap->       (i+1)
Author
A. Mignone (migno.nosp@m.ne@t.nosp@m.o.inf.nosp@m.n.it)
Date
Feb 05, 2021

Function Documentation

◆ States()

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

Compute 1D left and right interface states using piecewise linear reconstruction and the characteristic decomposition of the quasi-linear form of the equations.

This is done by first extrapolating the cell center value to the interface using piecewise limited linear reconstruction on the characteristic variables.

Left and right states are then evolved for the half time step using characteristic tracing if necessary.