lesgourg / class_public

Public repository of the Cosmic Linear Anisotropy Solving System (master for the most recent version of the standard code; GW_CLASS to include Cosmic Gravitational Wave Background anisotropies; classnet branch for acceleration with neutral networks; ExoCLASS branch for exotic energy injection; class_matter branch for FFTlog)
220 stars 291 forks source link

Positive potential derivative #518

Open Jobilthomas opened 1 year ago

Jobilthomas commented 1 year ago

Hey, I was working with a hybrid inflation model with a positive derivative of potential (dV/dphi). Since CLASS is written exclusively for negative potential I had to find and modify for my positive derivative model. Here in this pull request I have generalized the code so that the code will work for both positive and negative potential derivative. Also it is done on top of the "primordial-bug-fix" pull request that I did recently. Changes