A tool for solving the exact solution to one-dimensional special relativistic Riemann problem.
- Constant-
$\Gamma$ :
- Taub-Mathews:
GNU Scientific Library (GSL)
git clone git@github.com:zengbs/exact-solution-to-relativistic-riemann-problem.git
cd exact-solution-to-relativistic-riemann-problem
- Edit the
GSL_DIR
inMakefile
to match the path of GSL package - Edit
Input__Parameter
to set up initial conditions. make clean
make
./bin/RelativisticRiemannSolver
cd plot_script
python plot__profiles.py
eog fig__profiles.png
Please refer to Appendix C in Tseng et al. 2021, MNRAS, 504, 3298.