Collects different EMF averaging schemes. More...
#include "pluto.h"Functions | |
| void | CT_EMF_ArithmeticAverage (const EMF *Z1, const double w) |
| Compute arithmetic average of EMF at cell edges. | |
| void | CT_EMF_IntegrateToCorner (const Data *d, const EMF *emf, Grid *grid) |
| void | CT_EMF_HLL_Solver (const Data *d, const EMF *emf, Grid *grid) |
| Solve 2D Riemann problem for induction equation. | |
| void | CT_EMF_CMUSCL_Average (const Data *d, const EMF *emf, Grid *grid) |
| – | |
| void CT_EMF_ArithmeticAverage | ( | const EMF * | Z1, |
| const double | w | ||
| ) |
Combine the four electric field values computed at zone faces as upwind Godunov fluxes into an edge-centered value.
The face-centered EMF should have been stored by previous calls to CT_StoreEMF() during the one-dimensional sweeps.
This function employs a simple arithmetic averaging of the face-centered electric field.
References:
| [in] | Z1 | pointer to EMF structure |
| [in] | w | weighting factor |
Used in the predictor scheme of CTU scheme in conjunction with UCT_HLL average. No riemann solver actually used, but only a simple pointwise average.
References:
Solve 2-D Riemann problem using the 2D HLL Riemann flux formula of Londrillo & Del Zanna (2004), JCP, eq. 56. Here N, W, E, S refer to the following configuration:
* | * N * NW | NE * | * --W--+--E-- * | * SW | SE * S * | *
Add derivatives to the 4-point arithmetic average of magnetic fields. Obtain the electric field at corners.
References:
| [in] | d | pointer to PLUTO Data structure |
| [in] | emf | pointer to EMF structure |
| [in] | grid | pointer to Grid structure |
1.8.2