-
Notifications
You must be signed in to change notification settings - Fork 0
Shooting
To fill the energy budget constraints, a shooting method is applied that fills the energy budget with dark energy. All implemented dark energy potentials have an overall scaling factor CLASS to use this factor for shooting, the input parameter scf_tuning_index = 0 is to be passed (which is also the default value, in case nothing is passed). CLASS. Therefore, it is not a free parameter that needs to be estimated through the MCMC. What is passed by the user as the value of input.c, the shooting is implemented:
case Omega_scf:
xguess[index_guess] = ba.scf_parameters[ba.scf_tuning_index];
dxdy[index_guess] = ba.scf_parameters[ba.scf_tuning_index] / ba.Omega0_scf;
break;Another slight change we added to the shooting algorithm was to enforce the closure of the universe, i.e. to make it flat by enforcing
output[i] = ba.background_table[(ba.bt_size - 1) * ba.bg_size + ba.index_bg_rho_tot] / (ba.H0 * ba.H0) - 1;This is implemented in the input_try_unknown_parameters function in input.c and takes the last entry in the background table, i.e. output[i].