rmhd_1d

This code solves the equations of relativistic magnetohydrodynamics (RMHD) in one spatial dimension and planar symmetry.

The code is based on a Finite Volume method allowing for a variety of cell-reconstruction algorithms (all of them based in linear interpolations of primitive variables and slope limiters: Minmod, Van Leer, MC, …), Riemann solvers (HLL, HLLC) and time-advance algorithms (Hancock predictor step + correction, second and third order Runge-Kutta methods). 

Initial data and boundary conditions for several standard RMHD tests (Balsara 2001; Komissarov 1999; Giacomazzo & Rezzolla 2006) are already programmed.

Light speed in code units is set to 1. A factor of sqrt(4pi) is absorbed in the definition of the magnetic field.

Array dimensions are specified in module size.

A directory DATA must exist on the current directory for writing purposes.

Example of compilation: gfortran -ffree-line-length-none rmhd_1d.f90

Please cite Martí & Müller's LRCA article when using this code in your own publications.
