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

backward integration #526

Open Ramy771 opened 1 year ago

Ramy771 commented 1 year ago

Hello

I am trying to modify CLASS and I need to do some integrations backward to get the initial values first but the two evolvers included do the integration in the forward direction (Initial value problem), so is it possible to integrate backward? (I mean with the current version of CLASS).

Regards, and thank you for this code!

Ramy771 commented 1 year ago

For example, given the current fluid density I need to calculate the initial density.