{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/pspectcosmo-a-pseudo-spectral-code-for","title":"PSpectCosmo: A Pseudo-Spectral Code for Cosmological Dynamics Spanning Inflation and Reheating","arxiv_id":"2411.17658","date":"2024-11-26","proceeding":null,"authors":["Jie Jiang"],"abstract":"\\texttt{PSpectCosmo} is a high-performance \\texttt{C++} program developed to investigate early-universe cosmological dynamics, with a specific emphasis on the inflationary epoch. Utilizing a Fourier-space pseudo-spectral method, \\texttt{PSpectCosmo} enables the precise evolution of interacting scalar fields and gravitational waves, ensuring accurate representation of the power spectrum during inflation. This approach overcomes key limitations of finite difference methods, particularly in maintaining consistency between effective and lattice wave vectors. The code employs the adaptive step size velocity-Verlet algorithm for time integration, offering a balance of numerical stability and high precision. Additionally, \\texttt{PSpectCosmo} incorporates a robust mechanism to compute convergent energy density, effectively resolving the issue of divergent energy density at the onset of inflation. These capabilities establish \\texttt{PSpectCosmo} as a reliable and versatile tool for probing non-linear cosmological phenomena and inflationary dynamics with exceptional accuracy. The code is publicly available at https://github.com/JieJiang-Cosmology/PSpectCosmo.git","url_abs":"https://arxiv.org/abs/2411.17658v1","url_pdf":"https://arxiv.org/pdf/2411.17658v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"links_only","authors_date_abstract":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license), from the Kaggle arXiv metadata snapshot of 2026-09-12"},"code_links":[{"paper_slug":"pspectcosmo-a-pseudo-spectral-code-for","repo_url":"https://github.com/jiejiang-cosmology/pspectcosmo","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"none","reach":null}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":null,"mcp":null,"developers":"https://syntology.ai/developers"},"arxiv_metadata":null,"syntology_extracted_results":null}