Sapphire++
 v1.3.0-4-gbe09da0
Loading...
Searching...
No Matches
Examples

  1. 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+⁠+.
  2. Steady-state parallel shock
    This example solves directly for the steady-state of the parallel shock scenario.
  3. 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.
  4. 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.
  5. Closure
    In this example the effect of truncating the expansion at \(l_{\rm max}\) is explored.
  6. 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.
  7. 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.