|
Welcome!
This page hosts my Mathematica package TensoriaCalc, which calculates geometric objects - the Riemann curvature tensor, Ricci tensor and scalar, Christoffel symbols, etc. - given a metric and the relevant coordinates. TensoriaCalc was the outgrowth of tensorial calculations I performed during my own theoretical physics research. It also parallels a closely related effort to develop an abstract tensor manipulation package similar to xAct, but also allowing for concrete computations such as the ones peformed by TensoriaCalc. This package is certainly not the first, and probably won't be the last, of such tensor calculation packages. While it does not contain many sophisticated features yet, what distinguishes it from the rest of the packages currently available is, I have tried to maintain a consistency with the Mathematica language itself. Provided one is already comfortable with Mathematica, this consistency translates into an ease of use. For example, there is never a need to "load" a metric, nor is there some very particular way to enter one. In TensoriaCalc, a metric is defined by simply feeding the function Metric a List of coordinates used, and either the usual quadratic form of coordinate differentials or a square matrix representing the metric components themselves. Multiple geometries can be defined readily without conflict. Moreover, the expert Mathematica programmer will find it easy to build on (or modify) the code for her own tensorial calculations. Please do feel free to use and/or modify this code for the purposes of scientific research. If you do so, I only ask that you cite the URL of this webpage in your publication(s) and also drop me a note. If you want to make money off this, write to me first at yizen [dot] chu [at] gmail [dot] com. Definitely write to me if you find any bugs! Of course, questions, comments, suggestions, etc., are most welcomed too. Updates and bugs fix history can be found in the last section of the TensoriaCalc.nb notebook, which can be downloaded below. - Yi-Zen
TensoriaCalc Code
Follow these two steps to get TensoriaCalc up and running. Note that I wrote this package in Mathematica 8, and have tested it on my Windows 7 machine.
Acknowledgements
While developing this code, I have taken inspiration from the
following: FeynCalc, grt, and xAct.Future developments
As of December 2011, I have also written TensoriaLite, which is an
abstract tensor manipulation package containing some basic
FeynCalc-like features -- for instance, it is able to compute the N-graviton Feynman rules for the
Einstein-Hilbert lagrangian. I hope to release it at some point, so
stay tuned! The long term goal is to combine it with TensoriaCalc (and
call the unified package Tensoria), but
that may have to wait until I get a more stable job than a postdoc...
;-) |