GPappasGR / py_KEH_EGB

Sample code for obtaining static Neutron Star solutions in regularized 4D Einstein-Gauss-Bonnet gravity using the KEH/CST numerical scheme

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

py_KEH_EGB

Description

Sample code for obtaining static Neutron Star solutions in regularized 4D Einstein-Gauss-Bonnet gravity using the KEH/CST numerical scheme.

Usage

run python KEH_EGB.py

KEH_EGB.py takes 7 inputs in-turn:

  1. The EoS file name (e.g. eosSLY.txt).
  2. The central energy density in CGS/10^15 (e.g 1.2).
  3. The EGB coupling constant in km^2 (e.g. 10.0).
  4. The relative error for iteration scheme (e.g 1e-05)
  5. The number of maximum iteraions (e.g 200)
  6. The relaxation factor (e.g 0.2)
  7. The print option 0 or 1:
    • 0: Prints gravitational mass M and radius R.
    • 1: Prints (0) along with the distance, metric, scalar, energy density and pressure profiles.

About

Sample code for obtaining static Neutron Star solutions in regularized 4D Einstein-Gauss-Bonnet gravity using the KEH/CST numerical scheme


Languages

Language:Python 100.0%