Initialize test particles for the Xpoint problem.
More...
Particles are initialized using both global and local (cell-by-cell) methods. Velocities are set to follow a Maxwellian distribution with sigma = 0.1*c/100.0 .
- Authors
- A. Mignone (migno.nosp@m.ne@t.nosp@m.o.inf.nosp@m.n.it)
- Date
- June 13, 2019
◆ Particles_Init()
void Particles_Init |
( |
Data * |
d, |
|
|
Grid * |
grid |
|
) |
| |
- Parameters
-
[in] | d | Pointer to the PLUTO data structure. |
[in] | grid | Pointer to the PLUTO grid structure. |
◆ Particles_Inject()
void Particles_Inject |
( |
Data * |
data, |
|
|
Grid * |
grid |
|
) |
| |
Inject particles as you wish.
- Parameters
-
[in] | data | Pointer to the PLUTO data structure. |
[in] | grid | Pointer to the PLUTO grid structure. |