Skip to content

fizyk20/gr-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gr-engine

A simple physics engine capable of simulating General Relativity.

Features

  • Kerr and Schwarzschild spacetimes with separate coordinate systems for near-pole regions increasing accuracy
  • Propagation of point particles and entities with orientation
  • Integration of the equation of motion with either Runge-Kutta 4 or Dormand-Prince integrators

Tests/Examples

Folder "tests" contains some examples:

  • A sine wave integrated with RK4/DP
  • Shapiro delay calculator - by propagating a photon near the sun and reading the round-trip time

Documentation

Some documentation of the available classes is provided at http://fizyk20.github.io/gr-engine

About

A general-relativistic physics engine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages