Releases: Huang-CL/Magrathea
v2.0.0
Excerpt from The Hitchhiker's Guide to the Galaxy, Page 634784, Section 5b, Entry: Magrathea2.0
Since publication, we have made several expansions to the code which we list here. This latest update features a large change in how the user interacts with the code moving the interaction from main.cpp to config files in the run directory. While most of the publication remains accurate and the backend remains mostly similar, these updates add significant features to Magrathea. The run time of most planets remains between 0.5 and 1 second.
Large Updates:
- Run the code with
./planet run/mode_.cfg
where the blank is the input mode chosen. The user sets input parameters in the config files in the run directory rather than in main.cpp. Input files which are called in the config files are now stored in the input directory. Parser.cpp has been added to parse through user config files. - Finalized the composition finder which takes a planet's mass and radius and finds possible 3-layer solutions and moved it to compfind.cpp. We encourage users to document any bugs they run into with this mode as it has many uses and many fail cases.
- Implemented the ability to use P-T-rho-dT/dP_S tables for tabulated EoS. We implement the AQUA, SeaFreeze, and H/He Chabrier EoSs which improves our ability to model sub-Neptunes.
- Made Phase Diagrams modular. They can be chosen between in the config files. New phase diagrams can be saved in phase.cpp.
- Updated the default mantle phase diagram to include Olivine, Ringwoodite, and Wadsleyite along with high-pressure magnesium silicates and liquid silicate.
- Added additional "get" functions such as
getLayer()
andgetTs()
which can be used to further assess specific planetary parameters after an integration. - Provided "Tutorial_Practice_Problems.pdf" for sample projects which are great for getting yourself (or a student) familiar with the code.
Minor Updates:
- Many bug fixes and unit corrections
- Switched the bulk input mode and composition finder to modes 3 and 4.
- The loop for the bulk-input mode (mode3.cfg) has also been moved to the backend in compfind.cpp.
- A number of additional EoS have been added to the library in EoSlist.cpp: bcc and fcc Fe, magnesium-silicates from Dorogokupets et al. 2015 and Soitin et al. 2007, and the aforementioned tabulated EoSs for water phases and H/He atmospheres.
- A Blender code has been prepared to take Magrathea outputs to create 3D planet renderings.
"The chances of finding out what’s really going on in the universe are so remote, the only thing to do is hang the sense of it and keep yourself occupied." -H2G2
v1.0.0
First full release upon acceptance of Huang, Rice, and Steffen 2022 into MNRAS: https://doi.org/10.1093/mnras/stac1133.