OGRe: An Object-Oriented General Relativity Package for Mathematica
arXiv:2109.04193 · doi:10.21105/joss.03416
Abstract
We present OGRe, a modern Mathematica package for tensor calculus, designed to be both powerful and user-friendly. The package can be used in a variety of contexts where tensor calculations are needed, in both mathematics and physics, but it is especially suitable for general relativity. By implementing an object-oriented design paradigm, OGRe allows calculating arbitrarily complicated tensor formulas easily, and automatically transforms between index configurations and coordinate systems behind the scenes as needed, eliminating user errors by making it impossible for the user to combine tensors in inconsistent ways. Other features include displaying tensors in various forms, automatic calculation of curvature tensors and geodesic equations, easy importing and exporting of tensors between sessions, optimized algorithms and parallelization for improved performance, and more.
4 pages, final version published in JOSS. NOTE: The software has been updated since this publication. Full and up-to-date documentation and source code for the latest version are available at https://github.com/bshoshany/OGRe
Cited by in corpus (16)
- A new approach and code for spinning black holes in modified gravity
- Eternal Universes
- Warp Drives and Closed Timelike Curves
- Black Holes, Warp Drives, and Energy Conditions
- OGRePy: An Object-Oriented General Relativity Package for Python
- Using thermodynamics to learn gravitational wave physics
- Eikonal gravitational-wave lensing in Einstein-aether theory
- Null infinity as a Killing horizon
- The effect of loop quantum gravitational rainbow functions on the formation of naked singularities
- Preserving elastic anisotropy with tessellations of granular packings
- Wormhole Nucleation via Topological Surgery in Lorentzian Geometry
- Lectures on the Bondi--Metzner--Sachs group and related topics in infrared physics
- Positive Mass in General Relativity Without Energy Conditions
- Looping back to the past through free fall in a controlled warp drive spacetime
- Using massless fields for observing black hole features in the collapsed phase of Euclidean dynamical triangulations
- Cosmology in the presence of diffeomorphism-violating, nondynamical background fields