StructureSolver.jl

StructureSolver.jl is a Julia package for solving 1D (spherically symmetric) relativistic stellar structure models in Damour–Esposito–Farese (DEF) scalar-tensor gravity, with helper tools for neutron-star equations of state (EoS).

It is aimed at research workflows: single solves, parameter scans, families of models, and sensitivity/derivative extraction.

Installation

using Pkg
Pkg.add(url="https://github.com/AlexBatrakov/StructureSolver.jl")

For local development:

using Pkg
Pkg.develop(path="/path/to/StructureSolver.jl")
  • Quickstart: minimal examples for EoS and a single solve.
  • Tutorial: M–R curve: end-to-end family scan over central pressure.
  • Notation & outputs: what the main model.quantities and model.derivatives keys mean.
  • EoS: equation-of-state interfaces and unit conventions.
  • Simulations: regimes and simulation drivers.
  • Examples: copy-paste snippets.
  • Troubleshooting: common issues (PyPlot, docs deploy, etc.).
  • API: auto-generated API reference from docstrings.