|
ASCOT5
|
Functions to execute bbnbi externally. More...
Go to the source code of this file.
Functions | |
| void | bbnbi_simulate (sim_data *sim, int nprt, real t1, real t2, particle_state **p) |
| Simulate NBI injection. | |
Functions to execute bbnbi externally.
Definition in file bbnbi5.h.
| void bbnbi_simulate | ( | sim_data * | sim, |
| int | nprt, | ||
| real | t1, | ||
| real | t2, | ||
| particle_state ** | p ) |
Simulate NBI injection.
This function initializes neutrals and traces them until they have ionized or hit the wall.
| sim | pointer to the simulation data structure |
| nprt | number of markers to be injected |
| t1 | time instant when the injector is turned on |
| t2 | time instant when the injector is turned off |
| p | pointer to the marker array which is allocated here |