Parallel shock
This example showcases the capabilities of Sapphire++ in the context of a parallel shock scenario. It provides a simple 1D simulation of a shock wave moving through a plasma, and introduces the use of runtime parameters in Sapphire++.
Steady-state parallel shock
This example solves directly for the steady-state of the parallel shock scenario.
Steady-state oblique shock
This example inter alia investigates the consequences of a magnetic field, which is oblique with respect to the shock normal, on the acceleration process.
Gyro motion with advection
This example illustrates how an isotropic distribution of particles gyrates in a magnetic field, while being advected by a background plasma flow.
Closure
In this example the effect of truncating the expansion at \(l_{\rm max}\) is explored.
Advanced example: Scattering only
Serving as a comprehensive guide to Sapphire++, this example is highly recommended for new developers. It focuses on using scattering to reach a solution with diminishing multipoles.
Advanced example: Convergence study
In this advanced example, we derive an analytic solution for the system of equations solved in Sapphire++ in a special scenario. This is used to verify the accuracy of the numerical methods by performing a convergence study.