arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1201.5029astro-ph.IMastro-ph.COhep-phphysics.comp-ph
收藏

PyCOOL -用Python编写的宇宙学面向对象的Lattice代码

PyCOOL - a Cosmological Object-Oriented Lattice code written in Python

Jani Sainio

摘要:

早期宇宙中有许多不同的现象,必须用晶格模拟进行数值研究。本文提出了一个图形处理单元(GPU)加速的Python程序PyCOOL,解决了标量场的演变在一个非常精确的辛积分格。该计划已被写入的意图击中速度,准确性和用户友好的甜蜜点。这是通过使用Python语言和PyCUDA接口来实现的,该程序易于适应不同的标量场模型。在本文中,我们推导出控制系统演化的辛动力学,然后介绍了Python和PyCUDA中的程序实现。该程序的功能进行了测试,在一个混乱的通货膨胀预热模型,一个单一的字段的情况下,并在一个超对称曲率模型,导致Q球的生产。我们还在这些模拟中比较了消费级显卡与专业特斯拉计算卡的性能。我们发现,该程序不仅准确,而且非常快。为了进一步提高程序的实用性,我们为它配备了许多后处理功能,这些功能提供了有关宇宙学模型的有用信息。这些包括场的各种光谱和统计。该程序还可用于计算所产生的曲率扰动。该程序在GNU通用公共许可证下可在https://github.com/jtksai/PyCOOL上公开获得。更多信息可以从http://www.physics.utu.fi/tiedostot/theory/particlecosmology/pycool/上找到。

英文摘要:

There are a number of different phenomena in the early universe that have to be studied numerically with lattice simulations. This paper presents a graphics processing unit (GPU) accelerated Python program called PyCOOL that solves the evolution of scalar fields in a lattice with very precise symplectic integrators. The program has been written with the intention to hit a sweet spot of speed, accuracy and user friendliness. This has been achieved by using the Python language with the PyCUDA interface to make a program that is easy to adapt to different scalar field models. In this paper we derive the symplectic dynamics that govern the evolution of the system and then present the implementation of the program in Python and PyCUDA. The functionality of the program is tested in a chaotic inflation preheating model, a single field oscillon case and in a supersymmetric curvaton model which leads to Q-ball production. We have also compared the performance of a consumer graphics card to a professional Tesla compute card in these simulations. We find that the program is not only accurate but also very fast. To further increase the usefulness of the program we have equipped it with numerous post-processing functions that provide useful information about the cosmological model. These include various spectra and statistics of the fields. The program can be additionally used to calculate the generated curvature perturbation. The program is publicly available under GNU General Public License at https://github.com/jtksai/PyCOOL . Some additional information can be found from http://www.physics.utu.fi/tiedostot/theory/particlecosmology/pycool/ .

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

↑