|
Welcome!
This page hosts the Mathematica package TensoriaCalc, which tackles concrete (semi-)Riemannian tensor calculus problems encountered in general relativity, cosmology, and field theory. Given a metric and the relevant coordinates, it automatically computes the relevant Christoffel symbols, Riemann curvature tensor, Ricci tensor and scalar, etc. Arbitrary space(time) tensors may be readily defined. Operations such as coordinate transformations, covariant derivatives, Lie derivatives, Hodge duals, etc. can be performed with TensoriaCalc's suite of in-built functions. One key feature of TensoriaCalc is its smooth consistency with the Wolfram Language itself. Provided one is already familiar with the latter, I believe this leads to its ease of use. For example, a geometry is defined by entering the metric (or its inverse) by simply feeding the function Metric a List of coordinates used, and either the usual quadratic form of coordinate differentials (or, partial derivatives) or a square matrix representing the (inverse) metric components themselves. There is no overhead spent in "declaring" space(time) indices. Multiple geometries can be defined without conflict. TensoriaCalc was the outgrowth of tensor calculations I carried out during my own research in the 2010's. In the first half of the 2020's, Wei-Hao Chen -- for his Master's thesis project -- joined the effort and extended its functionality considerably. During this time, Vaidehi Varma worked with both of us to carefully document the code and write its manual. Please do feel free to use and/or modify this code, but only for the purposes of education or scientific research. If you do so, I ask that you cite the URLs of this webpage and TensoriaCalc's GitHub page in your publication(s). Comments, suggestions, bug reports, etc. are most welcomed too. - Yi-Zen
TensoriaCalc:
Download
TensoriaCalc was first written in Mathematica versions 8/9/10 and, later on, in versions 12/13.
Acknowledgements
While developing this code, I have
taken inspiration from the following: FeynCalc, grt,
and xAct.Tensor Calculus
Software
Wolfram
Mathematica
|