Initialize particle distrbution, set B.C. and injection.
More...
This file contains routines to initialize particles on the grid, assign user-defined boundary conditions and inject particles. Particles attributes that can be set are: position, velocity, color. In case of evolution with spectra, the initial spectral profile is also prescribed here.
- Authors
- A. Mignone (migno.nosp@m.ne@t.nosp@m.o.inf.nosp@m.n.it)
B. Vaidya (bvaid.nosp@m.ya@u.nosp@m.nito..nosp@m.it)
- Date
- May 18, 2016
◆ Particles_Init()
void Particles_Init |
( |
Data * |
d, |
|
|
Grid * |
grid |
|
) |
| |
Sets initial conditions on particles.
- 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 |
|
) |
| |
Sets user-defined boundary conditions on particles.
- Parameters
-
[in] | data | Pointer to the PLUTO data structure. |
[in] | grid | Pointer to the PLUTO grid structure. |