Astronomy and Astrophysics – Astrophysics – Instrumentation and Methods for Astrophysics
Scientific paper
2012-01-24
Astronomy and Astrophysics
Astrophysics
Instrumentation and Methods for Astrophysics
23 pages, 12 figures; some typos corrected and clarification provided
Scientific paper
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/ .
No associations
LandOfFree
PyCOOL - a Cosmological Object-Oriented Lattice code written in Python does not yet have a rating. At this time, there are no reviews or comments for this scientific paper.
If you have personal experience with PyCOOL - a Cosmological Object-Oriented Lattice code written in Python, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and PyCOOL - a Cosmological Object-Oriented Lattice code written in Python will most certainly appreciate the feedback.
Profile ID: LFWR-SCP-O-107342