PLUTO
4.4-patch2
|
Compute background magnetic field at the desired location. More...
#include "pluto.h"
Functions | |
void | GetBackgroundField (const State *state, int beg, int end, int where, Grid *grid) |
This function is normally called from Riemann solvers to compute the background magnetic field into the *state structure.
[out] | *state | pointer to state structure. |
[in] | beg | starting index of computation. |
[in] | end | final index of computation. |
[in] | where | the grid location (CELL_CENTER/FACE_CENTER) |
[in] | *grid | pointer to Grid structure. |