TestParticles.jl documentation

TestParticles was created to embed test particles in magnetohydrodynamic environments, or any electromagnetic field. Test particles move independently and their motion is governed by the Lorentz force. This code uses DifferentialEquations.jl to solve the particles' equations of motion.

Basic usage

TestParticles provides tools to simulate test particle ensembles using the EnsembleProblem from DifferentialEquations.jl. The tools provided by TestParticles.jl are:

See examples for simulations in both analytical and gridded electromagnetic fields, with and wihtout statistical sampling of the particle initial conditions.