PLUTO Test Problems
4.4-patch2
|
Initialize particle distrbution, set B.C. and injection. More...
Functions | |
void | Particles_Init (Data *d, Grid *grid) |
void | Particles_Inject (Data *data, Grid *grid) |
restart; g := -z*Omega^2; eq1 := diff(rho(z),z) - rho(z)*g/c^2; assign(dsolve({eq1, rho(0)=rho[0]})); rho(z);
Reference:
void 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 | ||
) |
Sets user-defined boundary conditions on particles.
[in] | data | Pointer to the PLUTO data structure. |
[in] | grid | Pointer to the PLUTO grid structure. |