9.4 Programs

A tar ball containing the source code for the following programs plus parameter and include files is available for download at http://www.livingreviews.org/lrr-2003-7.

9.4.1 Program RIEMANN

This program computes the solution of a 1D relativistic Riemann problem with initial data UL if X < 0.5 and UR if X > 0.5 and zero tangential speeds in the whole spatial domain [0, 1].

riemann.f
View File Download File
Please refer to the online version of this article to see the source code.

9.4.2 Program RIEMANN-VT

This program computes the solution of a 1D relativistic Riemann problem with initial data UL if X < 0.5 and UR if X > 0.5 and arbitrary tangential speeds in the whole spatial domain [0, 1].

riemann-vt.f
View File Download File
Please refer to the online version of this article to see the source code. Include file for this program:
npoints
View File Download File
Please refer to the online version of this article to see the source code.

9.4.3 Program rPPM

This program simulates 1D relativistic flows in Cartesian coordinates using our exact SRHD Riemann solver and PPM reconstruction.

rppm.f
View File Download File
Please refer to the online version of this article to see the source code. Include file for this program:
size
View File Download File
Please refer to the online version of this article to see the source code. Parameter file for this program:
inpt.dat
View File Download File
Please refer to the online version of this article to see the source code.
  Go to previous page Go up Go to next page