paper

Magrathea v2: A planetary interior modeling platform in C++

arXiv:2510.23733 · doi:10.21105/joss.10692

Abstract

Magrathea is an open-source C++ code for modeling the internal structure of differentiated planets. The initial release, Huang et al. (2022), introduced the base solver, a modular framework for defining equations of state (EOS) within phase diagrams for each layer, and a plan for expanding the code. Many of those updates are now implemented. Magrathea v2 is a more versatile platform that supports a wider range of compositions, adds new tools for composition retrieval, and makes it easier for users to adapt the code to their own models.

5 pages, 1 figure, Accepted to The Journal of Open Source Software (JOSS)