spaceChargeMinimalSim
Simulates the electric particle-particle interactions (space-charge) in an defined ensemble of charged particles. The particle ensemble is predefined by an input file which contains the initial positions, initial velocities, charge and mass of the particles in the simulated particle ensemble. Space charge is calculated with a serial version of a Barnes-Hut tree.
Simulation configuration parameters
integrator_modeKeyword:[verlet,parallel_verlet,full_sum_verlet,RK4,full_sum_RK4], optional: [FMM3D_verlet,ExaFMM_verlet]Selects the trajectory integrator
verlet: Serial (non parallelized) Velocity Verlet integrator with Barnes Hut Tree for space charge calculationparallel_verlet: Parallelized Velocity Verlet integrator with Barnes Hut Tree for space charge calculationfull_sum_verlet: Parallelized Velocity Verlet integrator with full sum between all particles for space charge calculationRK4: Parallelized Runge-Kutta 4 integrator with Barnes Hut Tree for space charge calculationfull_sum_RK4: Parallelized Runge-Kutta 4 integrator full sum between all particles for space charge calculation
With activated FMM libraries (Exa-FMM and or FMM3D) two FMM integrators are also available:
FMM3D_verlet: Velocity Verlet with Fast Multipole space charge calculation with FMM3D library
ExaFMM_verlet: Velocity Verlet with Fast Multipole space charge calculation with Exa-FMM library
sim_time_stepsintegerNumber of simulation time steps
trajectory_write_intervalintegerInterval, in time steps, between writes to the trajectory result file
dtfloatTime step length in seconds
space_charge_factorfloatMultiplication factor for particle-particle interaction (space charge)
ion_cloud_init_filefile pathPath to an ion cloud initialization / definition file