Maxima Tools

Below I'll attach what helped me out in using Maxima for research in theoretical physics.


This perl script turns a GRTensor compatible *.mpl file into a Maxima ctensor compatible *.mac. Simply run the script and load it into a Maxima instance (without ctensor initialized). It's at Github: GRTensorToMaxima.

Maxima Tensor Files

In case you want to specify your own files for Maxima, you essentially just need to define lg, the metric tensor. Here is a sample:

;This is all that's needed for a tensor file in Maxima.

;However, we want to completely define the metric. So we want our
;files to set everything up for us!

;We will need to specify: