InflationEasy: A C++ Lattice Code for Inflation
Abstract
InflationEasy is a lattice code specifically developed for cosmological inflation. It simulates the nonlinear dynamics of a scalar field on a three-dimensional lattice in an expanding FLRW universe using finite-difference spatial derivatives. Based in part on the well-known LATTICEEASY, it incorporates several features tailored specifically to inflationary applications, including a nonperturbative δ N method to compute the curvature perturbation at the end of inflation ζ directly from the lattice. In addition to the scalar sector, the code can also simulate scalar-induced gravitational waves, accounting for contributions generated both during inflation and during the subsequent horizon re-entry of scalar perturbations, and enabling the computation of the resulting gravitational-wave background. InflationEasy enables fully nonlinear studies of regimes with large fluctuations or nonperturbative non-Gaussianities, which lie beyond the reach of standard perturbation theory. It is applicable to a broad range of inflationary models, including those relevant for primordial black hole formation, gravitational-wave backgrounds, and large-scale structure.
Turn this paper into a full lesson
ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.