Tutorials
Jupyter notebooks in this section are executed when the documentation is built. Download a notebook from its page to run it yourself.
- Moving markers between ranks loads markers into a decomposed box, pushes them and migrates them to their owners.
- Moments and binning sums the velocity moments of the markers and bins them in phase space.
- Building the docs explains how to add a tutorial and control its output.

Moments and binning
The velocity distribution of the markers is summarised by its moments, the sums \sump wp vp^i1 \cdots vp^ik of every order k: the total weight, the momentum over the mass, \sum w vi vj, ...…
Moving markers between ranks
A ParticleStore holds the markers of one MPI rank. When markers move, the ones that leave a rank's part of the domain are sent to their new owner with migrate. This tutorial loads markers into a box…
Nothing matches.