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

TL;DR
PyCOOL is a GPU-accelerated Python code for simulating early universe scalar fields with high accuracy and speed, facilitating diverse cosmological studies and post-processing analysis.
Contribution
This paper introduces PyCOOL, a flexible, GPU-accelerated Python program for lattice simulations of scalar fields in cosmology, with detailed symplectic integrator implementation.
Findings
PyCOOL achieves high accuracy in scalar field evolution simulations.
The program runs efficiently on consumer and professional GPUs.
It provides extensive post-processing tools for cosmological analysis.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
