Institut für Visualisierung und Interaktive Systeme
Thomas Müller
Motion4D - A library for lightrays and timelike worldlines in the theory of relativity
Thomas Müller, Frank Grave
The Motion4D-library solves the geodesic equation as well as the parallel- and Fermi-Walker-transport in four-dimensional spacetimes numerically. Initial conditions are given with respect to natural local tetrads which are adapted to the symmetries or the coordinates of the spacetime. Beside some already implemented metrics like the Schwarzschild and Kerr metric, the object oriented structure of the library permits to implement other metrics or integrators in a straight forward manner.
The Motion4D-library
The current version of the Motion4D-library can be downloaded from the Computer Physics Communications Program Library.
Catalogue Identifier: AEEX_v1_0
The code documentation generated by doxygen can be found here.
Implemented metrics:
Minkowski
Schwarzschild
Eddington-Finkelstein
Reissner-Nordstrøm
Kerr (Boyer-Lindquist form)
Morris-Thorne wormhole
Barriola-Vilenkin monopol
Gödel
Kottler (Schwarzschild-deSitter)
Test programs
Please read the README.test file for how to use the example files.
The expected results are:
T. Müller, F. Grave An updated version of the Motion4D library to be published in Computer Physics Communications DOI: 10.1016/j.cpc.2009.10.021
T. Müller, F. Grave Motion4D - A library for lightrays and timelike worldlines in the theory of relativity Computer Physics Communications 180, 2355-2360 (2009) DOI: 10.1016/j.cpc.2009.07.014