Below is a collection of examples, showing a couple of the things that Legolas can do. These are taken from our method paper, and are explained in more detail there.

Suydam cluster modes

image-center Single spectrum with eigenfunctions, showing Suydam cluster modes in a cylindrical geometry with shear flow.

Tokamak current profile

image-center Multirun showing unstable interchange modes, for a cylindrical geometry and a magnetic field with constant pitch.


image-center Single spectrum with eigenfunctions, shows a resistive quasi-mode and its theoretical prediction.

Resistive tearing modes

image-center Both single and multiruns of a resistive tearing equilibrium, showing perfect agreement with theoretical predictions. Legolas can handle magnetic Reynolds numbers of a few million without any issues.