Published September 15, 2026 | Journal article | Version v1 | https://doi.org/10.21105/joss.10692

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

  • 1. Astrophysics Research Center (ARCO), Department of Natural Sciences, The Open University of Israel, Raanana 4353701, Israel
  • 2. Department of Astronomy, University of Wisconsin–Madison, 475 N. Charter Street, Madison, WI 53706, USA
  • 3. Shanghai Astronomical Observatory, Chinese Academy of Sciences, Shanghai 200030, People's Republic of China
  • 4. Department of Physics and Astronomy, University of Nevada, Las Vegas, 4505 South Maryland Parkway, Las Vegas, NV 89154, USA
  • 5. Department of Physics, Ariel University, Ariel 40700, Israel
  • 6. Department of Earth and Space Science, University of Washington, Seattle, WA 98195, USA

Files

joss.10692.pdf

Files (13.8 MB)

Name Size Download all
md5:71494f1ea60beefe0c5813458ab06db4
332.5 kB Preview Download
md5:0978128eb9b9b1da614e1fb07fab5ca7
13.4 MB Preview Download

Additional details

Dates

Issued
September 15, 2026

References

  1. Rice, D. R., Huang, C., Royer III, R., Daspute, M., Mittal, K., Journaux, B., Steffen, J., & Vazan, A. (2026). Magrathea v2.0 (Version v2.0) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.22182485
  2. Huang(黄辰亮), C., Rice, D. R., & Steffen, J. H. (2022). MAGRATHEA: an open-source spherical symmetric planet interior structure code. Monthly Notices of the Royal Astronomical Society, 513(4), 5256–5269. https://doi.org/10.1093/mnras/stac1133
  3. Taylor, J., Radica, M., Chatterjee, R. D., Hammond, M., Meier, T., Aigrain, S., MacDonald, R. J., Albert, L., Benneke, B., Coulombe, L.-P., Cowan, N. B., Dang, L., Doyon, R., Flagg, L., Johnstone, D., Kaltenegger, L., Lafrenière, D., Pelletier, S., Piaulet-Ghorayeb, C., … Roy, P.-A. (2025). JWST NIRISS transmission spectroscopy of the super-Earth GJ 357b, a favourable target for atmospheric retention. Monthly Notices of the Royal Astronomical Society, 540(4), 3677–3692. https://doi.org/10.1093/mnras/staf894
  4. Rice, D. R., Huang, C., Steffen, J. H., & Vazan, A. (2025). Uncertainties in the Inference of Internal Structure: The Case of TRAPPIST-1 f. The Astrophysical Journal, 986(1), 2. https://doi.org/10.3847/1538-4357/add34b
  5. Daspute, M., Wandel, A., Kopparapu, R. K., Perdelwitz, V., Teklu, J. T., & Tal-Or, L. (2025). Potential Interior Structures and Habitability of Super-Earth Exoplanets LHS 1140 b, K2-18 b, TOI-1452 b, and TOI-1468 c. The Astrophysical Journal, 979(2), 158. https://doi.org/10.3847/1538-4357/ad9ba9
  6. Desai, A., Turtelboom, E. V., Harada, C. K., Dressing, C. D., Rice, D. R., Murphy, J. M. A., Brinkman, C. L., Chontos, A., Crossfield, I. J. M., Dai, F., Hill, M. L., Fetherolf, T., Giacalone, S., Howard, A. W., Huber, D., Isaacson, H., Kane, S. R., Lubin, J., MacDougall, M. G., … Winn, J. N. (2024). The TESS-Keck Survey. XVIII. A Sub-Neptune and Spurious Long-period Signal in the TOI-1751 System. The Astronomical Journal, 167(5), 194. https://doi.org/10.3847/1538-3881/ad29ee
  7. Dou, J., Carter, P. J., & Leinhardt, Z. M. (2024). Formation of super-Mercuries via giant impacts. Monthly Notices of the Royal Astronomical Society, 529(3), 2577–2594. https://doi.org/10.1093/mnras/stae644
  8. Childs, A. C., Shakespeare, C., Rice, D. R., Yang, C.-C., & Steffen, J. H. (2023). Composition constraints of the TRAPPIST-1 planets from their formation. Monthly Notices of the Royal Astronomical Society, 524(3), 3749–3768. https://doi.org/10.1093/mnras/stad2110
  9. Journaux, B., Brown, J. M., Pakhomova, A., Collings, I. E., Petitgirard, S., Espinoza, P., Boffa Ballaran, T., Vance, S. D., Ott, J., Cova, F., Garbarino, G., & Hanfland, M. (2020). Holistic Approach for Studying Planetary Hydrospheres: Gibbs Representation of Ices Thermodynamics, Elasticity, and the Water Phase Diagram to 2,300 MPa. Journal of Geophysical Research: Planets, 125(1), Article e2019JE006176. https://doi.org/10.1029/2019je006176
  10. Unterborn, C. T., Desch, S. J., Haldemann, J., Lorenzo, A., Schulze, J. G., Hinkel, N. R., & Panero, W. R. (2023). The Nominal Ranges of Rocky Planet Masses, Radii, Surface Gravities, and Bulk Densities. The Astrophysical Journal, 944(1), 42. https://doi.org/10.3847/1538-4357/acaa3b
  11. Steffen, J. H., Shakespeare, C., Royer, R., Rice, D., & Vazan, A. (2025). Effect of Galactic Chemical Evolution on Exoplanet Properties. The Astrophysical Journal Letters, 991(2), L33. https://doi.org/10.3847/2041-8213/ae0457
  12. Dorogokupets, P. I., Dymshits, A. M., Sokolova, T. S., Danilov, B. S., & Litasov, K. D. (2015). The equations of state of forsterite, wadsleyite, ringwoodite, akimotoite, MgSiO3-perovskite, and postperovskite and phase diagram for the Mg2SiO4 system at pressures of up to 130 GPa. Russian Geology and Geophysics, 56(1-2), 172–189. https://doi.org/10.1016/j.rgg.2015.01.011
  13. Wagner, W., & Pruß, A. (2002). The IAPWS Formulation 1995 for the Thermodynamic Properties of Ordinary Water Substance for General and Scientific Use. Journal of Physical and Chemical Reference Data, 31(2), 387–535. https://doi.org/10.1063/1.1461829
  14. Mazevet, S., Licari, A., Chabrier, G., & Potekhin, A. Y. (2019). Ab initio based equation of state of dense water for planetary and exoplanetary modeling. Astronomy & Astrophysics, 621, A128. https://doi.org/10.1051/0004-6361/201833963
  15. Haldemann, J., Alibert, Y., Mordasini, C., & Benz, W. (2020). AQUA: a collection of H 2 O equations of state for planetary models. Astronomy & Astrophysics, 643, A105. https://doi.org/10.1051/0004-6361/202038367
  16. Chabrier, G., & Debras, F. (2021). A New Equation of State for Dense Hydrogen–Helium Mixtures. II. Taking into Account Hydrogen–Helium Interactions. The Astrophysical Journal, 917(1), 4. https://doi.org/10.3847/1538-4357/abfc48
  17. Benedict, L. X., Driver, K. P., Hamel, S., Militzer, B., Qi, T., Correa, A. A., Saul, A., & Schwegler, E. (2014). Multiphase equation of state for carbon addressing high pressures and temperatures. Physical Review B, 89(22), Article 224109. https://doi.org/10.1103/physrevb.89.224109
  18. Miozzi, F., Morard, G., Antonangeli, D., Clark, A. N., Mezouar, M., Dorn, C., Rozel, A., & Fiquet, G. (2018). Equation of State of SiC at Extreme Conditions: New Insight Into the Interior of Carbon‐Rich Exoplanets. Journal of Geophysical Research: Planets, 123(9), 2295–2309. https://doi.org/10.1029/2018je005582
  19. Dorogokupets, P. I., Dymshits, A. M., Litasov, K. D., & Sokolova, T. S. (2017). Thermodynamics and Equations of State of Iron to 350 GPa and 6000 K. Scientific Reports, 7(1), Article 41863. https://doi.org/10.1038/srep41863
  20. Stixrude, L., & Lithgow-Bertelloni, C. (2011). Thermodynamics of mantle minerals - II. Phase equilibria. Geophysical Journal International, 184(3), 1180–1213. https://doi.org/10.1111/j.1365-246x.2010.04890.x
  21. Rogers, L. A., & Seager, S. (2010). A FRAMEWORK FOR QUANTIFYING THE DEGENERACIES OF EXOPLANET INTERIOR COMPOSITIONS. The Astrophysical Journal, 712(2), 974–991. https://doi.org/10.1088/0004-637x/712/2/974
  22. Dorn, C., Khan, A., Heng, K., Connolly, J. A. D., Alibert, Y., Benz, W., & Tackley, P. (2015). Can we constrain the interior structure of rocky exoplanets from mass and radius measurements?. Astronomy & Astrophysics, 577, A83. https://doi.org/10.1051/0004-6361/201424915
  23. Acuña, L., Kreidberg, L., Zhai, M., Mollière, P., & Fouesneau, M. (2025). GASTLI: A Python package for coupled interior–atmosphere modelling of volatile-rich planets. Journal of Open Source Software, 10(107), 7288. https://doi.org/10.21105/joss.07288
  24. Huang(黄辰亮), C., Rice, D. R., Grande, Z. M., Smith, D., Smith, J. S., Boisvert, J. H., Tschauner, O., Salamat, A., & Steffen, J. H. (2021). Implications of an improved water equation of state for water-rich planets. Monthly Notices of the Royal Astronomical Society, 503(2), 2825–2832. https://doi.org/10.1093/mnras/stab645
  25. Lowitzer, S., Winkler, B., & Tucker, M. (2006). Thermoelastic behavior of graphite fromin situhigh-pressure high-temperature neutron diffraction. Physical Review B, 73(21), Article 214115. https://doi.org/10.1103/physrevb.73.214115

1–25 of 32