PyCosmo:一个集成的宇宙学玻尔兹曼解
PyCosmo: An Integrated Cosmological Boltzmann Solver
摘要:
随着宽视场巡天测量的精度越来越高,宇宙学已经进入了一个高精度的阶段,需要高度准确和快速的理论预测。大多数宇宙学模型预测的核心是控制宇宙中线性微扰演化的爱因斯坦-玻尔兹曼方程的数值解。我们提出了PyCosmo,一个新的基于Python的框架来解决这组方程使用一个特殊的purpose求解器的基础上符号操作,自动生成的C++代码和稀疏优化。该代码使用场方程的一致性关系来适应时间步长,并且不依赖于物理近似来加速。在回顾了一阶线性齐次微分方程组的求解系统后,我们描述了在PyCosmo中实现的数值方案。然后,我们比较的预测和性能的代码计算的传递函数的宇宙学扰动,并将其与现有的宇宙学玻尔兹曼代码。我们发现,我们实现了可比的执行时间可比的精度。虽然PyCosmo还不具备其他代码的所有功能,但我们的方法是对现有宇宙学玻尔兹曼解算器的补充,可以作为其数值解的独立测试。PyCosmo中爱因斯坦-玻尔兹曼方程系统的符号表示为实现扩展的宇宙学模型提供了方便的接口。我们还讨论了PyCosmo框架如何也可以用作计算宇宙学量以及交互式和高性能批处理作业应用程序的可观测量的通用框架。有关PyCosmo软件包和未来代码版本的信息,请访问http://www.cosmology.ethz.ch/research/software-lab.html。
英文摘要:
As wide-field surveys yield ever more precise measurements, cosmology has entered a phase of high precision requiring highly accurate and fast theoretical predictions. At the heart of most cosmological model predictions is a numerical solution of the Einstein-Boltzmann equations governing the evolution of linear perturbations in the Universe. We present PyCosmo, a new Python-based framework to solve this set of equations using a special pur- pose solver based on symbolic manipulations, automatic generation of C++ code and sparsity optimisation. The code uses a consistency relation of the field equations to adapt the time step and does not rely on physical approximations for speed-up. After reviewing the system of first-order linear homogeneous differential equations to be solved, we describe the numerical scheme implemented in PyCosmo. We then compare the predictions and performance of the code for the computation of the transfer functions of cosmological perturbations and compare it to existing cosmological Boltzmann codes. We find that we achieve comparable execution times for comparable accuracies. While PyCosmo does not yet have all the features of other codes, our approach is complementary to existing cosmological Boltzmann solvers and can be used as an independent test of their numerical solutions. The symbolic representation of the Einstein-Boltzmann equation system in PyCosmo provides a convenient interface for implementing extended cosmological models. We also discuss how the PyCosmo framework can also be used as a general framework to compute cosmological quantities as well as observables for both interactive and high-performance batch jobs applications. Information about the PyCosmo package and future code releases are available at http://www.cosmology.ethz.ch/research/software-lab.html.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。