2019/12/18 by Leo Brewin, Brewin, Leo
Physics and Astronomy · #Black Holes and Theoretical Physics #FOS: Physical sciences #Gamma-ray bursts and supernovae #General Relativity and Quantum Cosmology (gr-qc) #Pulsars and Gravitational Waves Research
paper · pdf · doi:10.48550/arxiv.1912.08839
openalex publication_date 2019/12/18 · openalex created_date 2025/10/10 · openalex updated_date 2026/07/28
Cadabra is an open access program ideally suited to complex tensor commutations in General Relativity. Tensor expressions are written in LaTeX while an enhanced version of Python is used to control the computations. This tutorial assumes no prior knowledge of Cadabra. It consists of a series of examples covering a range of topics from basic syntax such as declarations, functions, program control, component computations, input and output through to complete computations including a derivation of two of the BSSN equations from the ADM equations. Numerous exercises are included along with complete solutions. All of the source code for the examples, exercises and solutions are available on GitHub.