adwasser / StarStruc.jl

Stellar structure code in Julia

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

StarStruc.jl

Stellar structure code in Julia

It's a glass cannon, but the 4 Msun case runs on the order of a minute.

To install from Julia, use

Pkg.clone("https://github.com/adwasser/StarStruc.jl.git")

StarStruc exports the following names:

  • shootf,
  • shootf!
  • profiles
  • Msun
  • Rsun
  • Star
  • starplot

To run a model and plot the resulting structure profiles:

using StarStruc
star = Star(4 * Msun)
shootf!(star)
starplot(star)

About

Stellar structure code in Julia

License:MIT License


Languages

Language:Julia 68.3%Language:TeX 31.7%