First order (donor cell, piecewise constant) spatial reconstruction. More...
Go to the source code of this file.
Functions | |
void | lr_states (const GridS *pG, const Prim1DS W[], const Real Bxc[], const Real dt, const Real dx, const int il, const int iu, Prim1DS Wl[], Prim1DS Wr[], const enum DIRECTION dir) |
Computes L/R states. | |
void | lr_states_init (MeshS *pM) |
NoOp for first order, but included for compatibility with integrator (needed for 2nd and 3rd order). | |
void | lr_states_destruct (void) |
NoOp for first order, but included for compatibility with integrator (needed for 2nd and 3rd order). |
First order (donor cell, piecewise constant) spatial reconstruction.
PURPOSE: First order (donor cell, piecewise constant) spatial reconstruction.
CONTAINS PUBLIC FUNCTIONS:
Definition in file lr_states_dc.c.
void lr_states | ( | const GridS * | pG, | |
const Prim1DS | W[], | |||
const Real | Bxc[], | |||
const Real | dt, | |||
const Real | dx, | |||
const int | il, | |||
const int | iu, | |||
Prim1DS | Wl[], | |||
Prim1DS | Wr[], | |||
const enum DIRECTION | dir | |||
) |
Computes L/R states.
Input Arguments:
Output Arguments:
Definition at line 44 of file lr_states_dc.c.
Referenced by integrate_1d_ctu(), integrate_1d_vl(), integrate_2d_ctu(), integrate_2d_vl(), integrate_3d_ctu(), and integrate_3d_vl().
void lr_states_destruct | ( | void | ) |
NoOp for first order, but included for compatibility with integrator (needed for 2nd and 3rd order).
Free memory used by work arrays.
Definition at line 73 of file lr_states_dc.c.
Referenced by lr_states_init(), and main().
void lr_states_init | ( | MeshS * | pM | ) |
NoOp for first order, but included for compatibility with integrator (needed for 2nd and 3rd order).
Allocate enough memory for work arrays.
Definition at line 63 of file lr_states_dc.c.
Referenced by main().