PLUTO Test Problems
4.4-patch2
|
Numerical benchmarks for Guiding Center method (particles). More...
Functions | |
void | Particles_Init (Data *d, Grid *grid) |
void | Particles_Inject (Data *data, Grid *grid) |
Set particle initial conditions for standard reference tests for the guiding center approximation (GCA).
The macro SETUP
(set in definitions.h
) is used to select the configuration:
SETUP
= 1: simple gyration setupSETUP
= 2: ExB driftSETUP
= 3: Gradient driftSETUP
= 4: Curvature driftSETUP
= 5: E // B testvoid Particles_Init | ( | Data * | d, |
Grid * | grid | ||
) |
Sets initial conditions on particles.
[in] | d | Pointer to the PLUTO data structure. |
[in] | grid | Pointer to the PLUTO grid structure. |
void Particles_Inject | ( | Data * | data, |
Grid * | grid | ||
) |
Inject particles as you wish.
[in] | data | Pointer to the PLUTO data structure. |
[in] | grid | Pointer to the PLUTO grid structure. |