arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.00155astro-ph.IMgr-qcphysics.comp-ph
收藏

aurel:一个用于自动相对论计算的 Python 包

aurel: A Python package for automatic relativistic calculations

University of Sussex(萨塞克斯大学)

Robyn L. Munoz, Christian T. Byrnes, Will J. Roper

AI总结:

aurel 是一个用于自动相对论计算的 Python 包,支持符号和数值计算,提供高效的缓存和依赖跟踪系统,适用于广义相对论的非线性计算。

摘要:

aurel 是一个开源的 Python 包,旨在自动计算相对论量。它使用高效、灵活且用户友好的缓存和依赖跟踪系统,非常适合管理广义相对论的高度非线性性质。该包支持符号和数值计算。符号部分扩展了 SymPy,增加了张量计算。数值部分能够从任意时空和物质数据数组中,利用有限差分方法计算多种张量量,如曲率、物质运动学等。输入可以由解析表达式生成或从数值相对论(NR)模拟导入,提供辅助函数以读取标准 NR 代码的数据。鉴于 NR 的日益普及,aurel 提供了一个及时的后处理工具,以支持该领域的普及。

英文摘要:

\texttt{aurel} is an open-source Python package designed to \emph{au}tomatically calculate \emph{rel}ativistic quantities. It uses an efficient, flexible and user-friendly caching and dependency-tracking system, ideal for managing the highly nonlinear nature of general relativity. The package supports both symbolic and numerical calculations. The symbolic part extends \texttt{SymPy} with additional tensorial calculations. The numerical part computes a wide range of tensorial quantities, such as curvature, matter kinematics and much more, directly from any spacetime and matter data arrays using finite-difference methods. Inputs can be either generated from analytical expressions or imported from Numerical Relativity (NR) simulations, with helper functions provided to read in data from standard NR codes. Given the increasing use of NR, \texttt{aurel} offers a timely post-processing tool to support the popularisation of this field.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑