GRTC-GUI allows you to calculate the well-known tensors in general relativity, without writing a single line of code. In addition, you can apply many operations to 6 different type of fields, in both 4D and 3D.
It's tested for GNU/Linux. However, it should also work in Windows and Mac OS. If you ever encounter with a problem, feel free to create an issue.
Either by using predefined coordinates, or by defining the coordinate system yourself, you can calculate:
- Inverse Metric Tensor
- Christoffel Symbol
- Riemann Tensor
- Ricci Tensor
- Ricci Scalar
- Weyl Tensor
- Traceless Ricci Tensor
- Einstein Tensor
- Kretschmann Scalar
Currently, there are 6 different field objects that you can carry out operations. These are:
- Scalar Field
- Type (1,0) Vector Field
- Type (0,1) Vector Field
- Type (2,0) Tensor Field
- Type (1,1) Tensor Field
- Type (0,2) Tensor Field
- Varying the type of a given vector field
- Calculating covariant and Lie derivatives for each field object (scalar, vector and tensor)
- Checking the Killing field condition for a given vector field
4D/Main Page | 3D/Main Page |
---|---|
4D/Scalar Field Operations | 4D/Vector Field Operations | 4D/Tensor Field Operations |
---|---|---|
3D/Scalar Field Operations | 3D/Vector Field Operations | 3D/Tensor Field Operations |
---|---|---|
You can easily install GRTC-GUI by either cloning the repository
git clone https://github.com/seVenVo1d/grtc_gui
or via downloading as ZIP. Later on, you can simply run
python3 -m pip install -r requirements.txt
to install the requirements.
I have added an optional code block in grtc_gui.py
, that will delete all the .pyc
files and __pycache__
directories. These are created after the program starts and can be annoying for some people. If you want to try it, install pyclean via
python3 -m pip install pyclean
and uncomment the lines in the file.
Please take a look at the docs/user_guide.md
for a summary of the GRTC-GUI. To see more detailed examples, you can look at the demos
directory.
- Raising and lowering indices for a given tensor field
- Gradient, Divergence, Curl and Laplace operations on fields
- Partial and Covariant derivatives of the GR Tensors (Christoffel Symbol, Riemann Tensor, etc.)
- Including more coordinate systems
- Adding a button that prints the equations in LaTeX form