Modifying the Free Energy in Skye
Abstract
The Skye Equation of State (EOS) is built on top of automatic differentiation machinery. This makes it straightforward to modify, because all the requisite partial derivatives of the Helmholtz free energy are computed automatically via operator overloading. Here we demonstrate this advantage by implementing a new prescription for the anharmonic free energy of a crystalline one-component plasma. Apart from boilerplate and variable declarations, only 7 new lines of code were needed.
- Publication:
-
Research Notes of the American Astronomical Society
- Pub Date:
- March 2022
- DOI:
- 10.3847/2515-5172/ac5ac1
- Bibcode:
- 2022RNAAS...6...43J
- Keywords:
-
- Stellar physics;
- Stellar evolution;
- Plasma physics;
- Astronomy software;
- 1621;
- 1599;
- 2089;
- 1855