Skip to content

A simple script written using symbolic python that takes as input a desired metric and automatically calculates and outputs the Christoffel Pseudo-Tensor, Riemann Curvature Tensor, Ricci Tensor, Scalar Curvature and the Kretschmann Scalar

License

Notifications You must be signed in to change notification settings

michalis11892/GR_Solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Overview

GR_Solver is a simple, single-file, script written using symbolic python [python 3.9.5] that takes as input an arbitrary Metric Tensor and automatically calculates and outputs the Christoffel Pseudo-Tensor, Riemann Curvature Tensor, Ricci Tensor, Scalar Curvature and Kretschmann Scalar

Instructions

  1. pip install requirements.txt
  2. python GR_Solver.py

In order to modify the metric, simply open the file, edit the value of the Metric Tensor (g); using the elements of list x as coordinates, and the code is ready to be run! If you wish to use different coordinate symbols for convinience, the coordinate naming scheme is also editable in the script file too.

Note: Right now, the default setting is the Schwarzschild Metric in spherical spacial coordinates.

About

A simple script written using symbolic python that takes as input a desired metric and automatically calculates and outputs the Christoffel Pseudo-Tensor, Riemann Curvature Tensor, Ricci Tensor, Scalar Curvature and the Kretschmann Scalar

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages