PLUTO
4.4-patch2
|
MUSCL-Hancock predictor step. More...
#include "pluto.h"
Functions | |
void | HancockStep (const Sweep *sweep, int beg, int end, Grid *grid) |
Use time-extrapolation to compute interface states and cell-centered value at the half-time step,
This is done using the one-dimensional primitive form ot the equations for the HD, RHD and MHD modules since we have at disposal .
Conversely, for relativistic MHD, we adopt the one-dimensional conservative form of the equations (conservative Hancock predictor) and compute the primitive values using . This requires taking the following steps:
Use Taylor expansion to compute time-centered states in primitive variables.
[in,out] | sweep | pointer to a Sweep structure |
[in] | beg | initial index of computation |
[in] | end | final index of computation |
[in | grid pointer to Grid structure |
References