Legolas, short for Large Eigensystem Generator for One-dimensional pLASmas, is a novel finite element code tailored to MHD spectroscopy of 1D Cartesian/cylindrical equilibria with flow that balance pressure gradients, enriched with various non-adiabatic effects.
Legolas can do a multitude of things, ranging from full spectrum calculations to eigenfunctions of specific modes, to full-on parametric studies of various equilibrium configurations in different geometries. Take a look at the examples to see what the code is capable of.
Legolas is the result of months and months of developing, testing, fixing issues, testing again, thinking bugs are fixed, further development, discovering that bugs weren’t fixed, headscratching, testing again, etc. In short, a typical development process of a brand new code. Since this took (and still takes) a lot of effort and time, we therefore kindly ask that the first published peer-reviewed paper from applying Legolas is done in co-authorship with at least one of the original authors. Since the code is brand new we would like to know how it is used and provide guidance if possible. Additionally, if you use Legolas in a publication, we kindly request that you cite our paper.
The Legolas paper
We have written a method paper, accepted in the Astrophysical Journal Supplement Series, showcasing Legolas to the scientific community. Here we explain the underlying mathematical formalism in great detail, including a plethora of examples ranging from p- and g-modes in gravitationally stratified atmospheres to modes relevant in coronal loop seismology and stability studies of astrophysical jets.
Legolas is supported by funding from the European Research Council (ERC) under the European Unions Horizon 2020 research and innovation programme, Grant agreement No. 833251 PROMINENT ERC-ADG 2018; from the VSC (Flemish Supercomputer Center), funded by the Research Foundation – Flanders (FWO) and the Flemish Government – department EWI; and from Internal Funds KU Leuven, project C14/19/089 TRACESpace.