ASCOT5
|
Header file for simulate_gc_adaptive.c. More...
Go to the source code of this file.
Functions | |
void | simulate_gc_adaptive (particle_queue *pq, sim_data *sim) |
Simulates guiding centers using adaptive time-step. | |
Header file for simulate_gc_adaptive.c.
Definition in file simulate_gc_adaptive.h.
void simulate_gc_adaptive | ( | particle_queue * | pq, |
sim_data * | sim ) |
Simulates guiding centers using adaptive time-step.
The simulation includes:
The simulation is carried until all marker have met some end condition or are aborted/rejected. The final state of the markers is stored in the given marker array. Other output is stored in the diagnostic array.
The adaptive time-step is determined by integrator error tolerances as well as user-defined limits for how much marker state can change during a single time-step.
pq | particles to be simulated |
sim | simulation data |
Definition at line 55 of file simulate_gc_adaptive.c.