Skip to content

ThomasHelfer/GeodesicIntegrator

Repository files navigation

GeodesicIntegrator

A simple code to calculate geodesics using a given space-time using MPI to accelerate. It can just create geodesic traces or render pictures of simple geometries positioned in space-time. ( See example below )

Getting Started

To run the example to calculate Null-geodesics around a schwarzschild Black Hole

$ Examples/0_SimpleGeodesicBlackHole
$ make && ./main
$ python plot.py

To run the expensive render as shown above

$ cd Examples/3_RenderParallel/
$ make 
$ mpirun -n 4 ./main
$ sh get_png.sh

Technologies

Here we use

  • GNU Make
  • C++ with version 14 or higher ** MPI ** GSL
  • ImageMagick
  • python 2.7 or higher

About

A highly parallel raytracing code in C++ using MPI

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published